Feature Elements
 
Functions introduced:
The function ProElementAlloc() allocates a new ProElement object with a specified element ID. The function ProElementFree() frees a ProElement.
The function ProElementIdGet() outputs the element ID of a specified ProElement. The function ProElementIdSet() enables you to set the element ID of a specified ProElement.
The function ProElemIdStringGet() returns the string representation of the specified element ID.
The function ProElemtreeElementGet() enables you to read a specified element in a tree. The inputs are the root of the tree, specified as a ProElement object, and the path to the element, specified by a ProElempath. The output is a ProElement object.
The function ProElemtreeElementAdd() adds a new element to the specified element tree. The inputs are the ProElement for the tree root, the ProElempath to the new element, and the ProElement for the new element.
The function ProElemtreeElementRemove() removes an element from a specified tree and path. It outputs a ProElement for the element removed.
The functions ProElementIsMultival(), ProElementIsCompound(), and ProElementIsArray() tell you the type of a specified element in a tree. See the section Overview of Feature Creation for an explanation of the types.
The function ProElementChildrenGet()provides an expandable array of ProElement objects for the children of the specified compound element in a tree. The array must be allocated using ProArrayAlloc() before you call this function. The function ProElementChildrenSet()adds a set of elements, specified by an expandable array of ProElement objects, as the children of the specified element in a tree.
The function ProElementArraySet() adds an expandable array of ProElement objects as the members of a specified array element in an element tree.
The function ProElementArrayGet() fills an expandable ProElement array with the members of an array element in an element tree. The function ProElementArrayCount() tells you how many members are in an array element in the specified element tree.
The function ProElemtreeElementVisit() visits the elements that are members of the specified array element in an element tree.
Isto foi útil?