Model.toggleincludefromdisplay#
- Model.toggleincludefromdisplay(id, shortname)#
This function un-displays/masks any entities in the specified include file that are currently displayed and displays/unmasks any entities in the specified include file that are currently hidden. The display of entities not in the specified include is not affected.
- Parameters:
id (unsigned int) – The ID of the include file. An ID of 0 selects the main file. If not specified, should be blank 0.
shortname (hwString) – The shortname of the include file. This value can be blank when
idis specified. If not specified, should be blank “”.
Examples#
Toggle the entities in the include with ID 3#import hm import hm.entities as ent model = hm.Model() model.toggleincludefromdisplay(id=3, shortname="")
Toggle the entities in the include with ID 3#import hm import hm.entities as ent model = hm.Model() model.toggleincludefromdisplay(id=0, shortname="elems.fem")