User's Guide > Feature Element Tree > Feature Element Tree > Building Features Using Element Trees
Building Features Using Element Trees
The feature element tree allows you to build a complex feature in stages, with only a small set of functions. However, the form of the tree required for a particular feature needs to be clearly defined. This helps you identify what elements and values must be added. This also helps Creo Object TOOLKIT C++ can check for errors each time you add a new element to the tree.
The header files in <creo_toolkit_loadpoint>/includes describe the Feature Element Trees with the following two types of description:
Feature element tree
Feature element table
The feature element tree defines the structure of the tree, specifying the element ID (or role) for the elements at all levels in the tree. It also defines which elements are optional. The feature element table defines the following for each of the element IDs in the tree:
A description of its role in the feature
The value type it has (that is, whether it is single value or compound; or an array of integer, double, or string)
The range of values valid for it in this context
Was this helpful?