API 文件集 > Features > Object ProPattern > Function ProPatternElemtreeCreate
Function ProPatternElemtreeCreate
Description
Creates a copy of the pattern element tree.
NOTE:
Because a feature can be part of both a group pattern and feature pattern, you must specify the pattern object for this function. Use the functions ProFeatureGroupStatusGet() and ProFeatureGrppatternStatusGet() to get the appropriate information. Alternatively, you can use the feature element tree to get this information.
Synopsis
#include <ProPattern.h>
ProPatternElemtreeCreate
(
ProFeature* pattern_feature
/* (In)
The input feature (part of a pattern)
*/
ProPatternClass pat_class
/* (In)
The pattern class
*/
ProElement* p_elem_tree
/* (Out)
The root element of the pattern element tree
*/
)
Returns
The function successfully created the pattern element tree.
One or more of the input arguments are invalid.
Returned for fill, axis and directional patterns, as these element trees are not yet available.
Sample Code References
這是否有幫助?