Modeller.enableTrees


enableTrees(isEnable)

Switches on/off the auto-update of all trees within Modeller This is useful when creating large numbers of attributes, loadcases or groups, which would otherwise be very slow. Modeller automatically calls enableTrees(0) just before running a command script, and enableTrees(1) just after it has finished. This function is therefore only needed in scriptable dialogs which create large numbers of objects.

isEnableboolean1 to enable, 0 to disable
Return valuenone 

Back to Modeller

Back to Overview