| DEPRECATED: | Since Creo 4.0 |
| SUPERSEDED BY: | ProFeatureSketchedWithOptionsCreate |
| Description |
| Creates a feature from the element tree and copies sketch(es) from the feature(s) from sketch_array to the created feature. Supports creation of the following sketched features:
- Fill / Flat Surface
- Extrude
- Revolve
- Sketched Datum Curve
- Wrap Curve
|
| Synopsis |
| #include <ProFeature.h> |
| ProError | ProFeatureSketchedCreate | ( |
| ProSelection model | |
| /*
(In) |
| The model on which the feature is being created. If the feature is created in an assembly, you must specify the component path. |
| */ |
| ProElement elemtree | |
| /*
(In) |
| The element tree. |
| */ |
| ProFeatureCreateOptions* options | |
| /*
(In) |
| An array of user options. |
| */ |
| int num_opts | |
| /*
(In) |
| The number of options in the options array. |
| */ |
| ProSelection* sketch_array | |
| /*
(In) |
| ProArray of selections of sketch datum curves containing sketches |
| */ |
| ProFeature* p_feature | |
| /*
(Out) |
| The feature handle to the created sketched feature. |
| */ |
| ProErrorlist* p_errors | |
| /*
(Out) |
| The list of errors. |
| */ |
| ) |
| Returns |
|
| PRO_TK_NO_ERROR | | The function successfully created the feature. |
| PRO_TK_BAD_INPUTS | | One or more of the input arguments are invalid. |
| PRO_TK_GENERAL_ERROR | | The feature was not created successfully. The will feature set as incomplete. See p_errors for the list of problems. |
| PRO_TK_ABORT | | sketch_array contains feature other than a sketched datum curve |
|
| See Also |
| ProDtmCrv.h |
| ProDtmPnt.h |
| ProExtrude.h |
| ProFlatSrf.h |
| ProRevolve.h |
| ProRib.h |