ObjectSet.addHOF


addHOF()

addHOF(objType, [names])

addHOF(attrType, [names])

Adds to this set all higher order features of objects already in this set. Also adds parent features of any elements in the set. Optionally the operation may be filtered to only add objects of a specific type, and with specific name(s), or that have a particular attribute assignment. When called with no arguments, acts on all objects. When called with objects, limits operation to only those objects given. When called with attributes, limits operation to only those objects that have an assignment to the attributes given.

objTypestring "Point", "Line", "Element", etc
attrTypestring "Loading", "Support", "Material", etc
namesstringName(s)/ID(s) of objects or attributes. Examples are ""bob"", "Structural Support 2", "3", "1T5"
Return valuePointer to this objectAllows multiple function calls to be chained together

Example

To view point 1, and all its higher order lines, surfaces and volumes

 call visible.add("Point", 1)
 call visible.addHOF()
 
To view point 1, and all its higher order surfaces that have IDs between 1 and 10
 call visible.add("Point", 1)
 call visible.addHOF("Surfaces", "1T10")
 

Back to ObjectSet

Back to Overview