Specifies a folder to act as the last part of the tree location where this attribute will be shown. If the folder does not already exist, it will be created. For example, 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 categorise or group certain attributes for whatever purpose. Calling with an empty string puts the attribute back where it would normally live. Optionally, you may pass in a boolean to specify whether the new folder is created 'open' or 'closed' - i.e. whether the contents are expanded or not.
name | string | |
initialExpanded | optional boolean | default true (= open/expanded) |
Return value | none |
Back to Attribute
Back to Overview