API Documentation > Features > Object ProFeature > Function ProFeatureElemtreeExtract
Function ProFeatureElemtreeExtract
Description
Creates a copy of the feature element tree. Preferred over ProFeatureElemtreeCreate() Since it provides options to resolve the paths of external references of the feature.
Replacement in Object TOOLKIT:
Synopsis
#include <ProFeature.h>
ProFeatureElemtreeExtract
(
ProFeature* feature
/* (In)
The feature.
*/
/* (In)
The path used to resolve references from the element tree. Can be NULL, but trees which lack the proper external references may not be usable to redefine the feature with external references.
*/
/* (In)
The options used for the extraction. Pass PRO_FEAT_EXTRACT_NO_OPTS for now.
*/
ProElement* p_elem
/* (Out)
The root element of the feature element tree. Free this using ProFeatureElemtreeFree().
*/
)
Returns
The function successfully created the feature element tree.
The input argument is invalid.
Extraction of the element tree is not supported for this feature type.
See Also
Sample Code References
User Guide References
Was this helpful?