ObjectSet.addLOF


addLOF()

addLOF(objType, [names])

addLOF(attrType, [names])

Adds to this set all elements and lower order features of objects already in this 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 surface 1, and all its lower order lines and points

 call visible.add("Surface", 1)
 call visible.addLOF()
 
To view surface 1, and any of its lower order points that have IDs between 1 and 10
 call visible.add("Surface", 1)
 call visible.addLOF("Points", "1T10")
 

Back to ObjectSet

Back to Overview