Documentación de la API > Features > Object ProFeature > Function ProFeatureSketchAdd
Function ProFeatureSketchAdd
Description
Copies section from a sketched datum curve specified by selection to the incomplete feature.
Synopsis
#include <ProFeature.h>
ProFeatureSketchAdd
(
ProFeature* incomplete_feature
/* (In)
The incomplete feature to which the section needs to be added Supports the following sketched features: Fill / Flat Surface Extrude Revolve Sketched Datum Curve Wrap Curve
*/
ProSelection selection
/* (In)
The selection of sketched datum curve feature from which section needs to be copied ( composed of id = feat_id and type = PRO_FEATURE )
*/
int section_number
/* (In)
The section number. The valid values are 0 to (n-1), where n is the number of sections given by the function ProFeatureNumSectionsGet().
*/
)
Returns
Successful in copying the section
Invalid inputs
section_number > max_section_number
incomplete_feature is already complete
Improper selection object
selection contains feature other than a sketched datum curve
User Guide References
¿Fue esto útil?