Creating Process Steps
To create an assembly process step, use the function
ProFeatureCreate(). As with any other type of feature, you use the element tree to create a process step feature.
This section describes the basic principles of programmatic process step creation. The section
Element Trees: Principles of Feature Creation is a necessary background for this topic; therefore, you should read that section first.
The element tree for a process step feature is documented in the header file
ProProcstep.h and has a fairly simple structure, as shown in the following figure. You can also create a copy of the feature element tree of an existing process step feature by calling the function
ProFeatureElemtreeExtract() with an input feature of type
ProProcstep.
The following figure shows the element tree of a process step feature.
Figure 219. Element Tree of Process Step Feature