Attribute.setTreeLocation


setTreeLocation(name)

Sets the last part of the tree location where this attribute will be shown. E.g. a line mesh attribute would usually be shown in "Attributes/Mesh/Line". By calling this function with the word "Special", this attribute would be shown in the tree in "Attributes/Mesh/Line/Special". This enables the user to highlight certain attributes for whatever purpose. Calling with an empty string puts the attribute back where it would normally live

namestring
Return valuenone 

Back to Attribute

Back to Overview