| Description | |||||||||||
| Creates a feature from the element tree.
NOTE: Refer to the Creo Parametric Toolkit Release Notes for more information on restrictions of using this function with Multi-CAD models. |
|||||||||||
| Synopsis | |||||||||||
| #include <ProFeature.h> | |||||||||||
| ProError | 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:
|
|||||||||||
| */ | |||||||||||
| 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. | |||||||||||
| */ | |||||||||||
| ) | |||||||||||
| Returns | |||||||||||
|
|||||||||||