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)
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 | none |
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