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.
objType | string | "Point", "Line", "Element", etc |
attrType | string | "Loading", "Support", "Material", etc |
names | string | Name(s)/ID(s) of objects or attributes. Examples are ""bob"", "Structural Support 2", "3", "1T5" |
Return value | Pointer to this object | Allows multiple function calls to be chained together |
Example
To view point 1, and all its higher order lines, surfaces and volumes
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()
call visible.add("Point", 1)
call visible.addHOF("Surfaces", "1T10")
Back to ObjectSet
Back to Overview