Model.displaycollectorsall#
- Model.displaycollectorsall(mode, elements, geometry)#
Controls the display state of all collectors.
- Parameters:
mode (hwString) –
The mode being performed, defined by the following:
on - All collectors are turned on.
all - All collectors are turned on.
off - All collectors are turned off.
none - All collectors are turned off.
toggle - All collectors are toggled (visible become invisible and vice-versa).
reverse - All collectors are toggled (visible become invisible and vice-versa).
elements (int) –
Indicates if elements within collectors are to be turned on or off.
0 - No
1 - Yes
geometry (int) –
Indicates if geometry within collectors are to be turned on or off.
0 - No
1 - Yes
Example#
Turn off all entities in the user collection , except geometry#import hm import hm.entities as ent model = hm.Model() model.displaycollectorsall(mode="off", elements=1, geometry=0)