Adding Children to a Feature in CAA RADE
To add a child to a feature you need to instantiate the
CATIDescendants class. This inherits from your featuer directly.
The following code creates a parameter and appends it to the
feature in the tree:
CATICkeParm_var Material = spParmFactory->CreateString("Material","Steel"); CATIDescendants_var spDescendants = NULL_var; spDescendants = myFeature; spDescendants->Append(Material);