IMD.setTreeLocation


setTreeLocation(name, [initiallyExpanded])

Specifies a folder to act as the last part of the tree location where this loadset will be shown. If the folder does not already exist, it will be created. For example, by calling this function with the word "Special", this loadset would be shown in the tree in "Loadcases/Special". This enables the user to categorise or group together certain loadsets for whatever purpose. Calling with an empty string puts the loadset 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.

namestring
initiallyExpandedoptional boolean default true (= open/expanded)
Return valuenone 

Back to IMD

Back to Overview