
Replacement in Object TOOLKIT: |

ProFeatureWithoptionsCreate | |
( ProSelection model /* (In) A selection object representing the part or assembly on which the feature is being created. The selection object must be constructed using a valid assembly component path to the top level assembly if: the feature contains external references to geometry located outside of the solid model where it will be constructed. or, the solid model in which the feature will be constructed is a member of the active Creo Parametric assembly. */ ProElement elemtree /* (In) The element tree. */ ProFeatureCreateOptions* options /* (In) A ProArray array of user options. */ int flags /* (In) The regeneration control flags. Pass as bitmask containing one or more of the bit flags PRO_REGEN* defined in ProSolid.h */ ProFeature* p_feature /* (Out) The feature handle. */ ProErrorlist* p_errors /* (Out) The list of errors. */ ) |

The function successfully created the feature. | |
Model is in read-only state. | |
One or more of the input arguments are invalid. | |
The feature was not created. See p_errors for the list of problems. | |
If creating embedded component feature in different owner asm or sub-asm. |


