Introduction
 
Using Creo TOOLKIT, you can create patterns of features, including those not supported by Creo TOOLKIT feature creation. Consequently, you can programmatically create patterns of any feature that can be patterned in Creo Parametric.
The creation and manipulation of patterns use the following Creo TOOLKIT objects:
ProPattern—A structure that contains the type and owner of the pattern, and an opaque pattern handle
ProPatternClass—An enumerated type that contains the pattern class, which specifies either a feature pattern (PRO_FEAT_PATTERN) or a group pattern (PRO_GROUP_PATTERN)
The procedure for creating a pattern is similar to creating features, in that you construct an element tree and pass this element tree to Creo Parametric. When you pass the tree to Creo Parametric, you also specify the feature to be patterned.
這是否有幫助?