VisualiseLayer.add


add(attr, [master/slave])

add(attrType, [names], [master/slave])

Adds the given attribute(s) to the list being visualised Attributes may be given as objects or as a type and name(s)

attrTypestring "Loading", "Support", "Material", etc
namesstringName(s)/ID(s) of objects or attributes. Examples are ""bob"", "Structural Support 2", "3", "1T5"
Return valuenone 

Example

call view.attributes.add("Loading", 1) call view.attributes.add("Loading", "bob") call view.attributes.add(db.getLoading("bob")) call view.attributes.add("Slideline", 1, "Slave")

Back to VisualiseLayer

Back to Overview