Model.removeincludefromdisplay#

Model.removeincludefromdisplay(id, shortname)#

This function un-displays/masks all of the entities in the specified include file from the HyperMesh modeling window

Parameters:
  • id (unsigned int) – The ID of the include file. If id=0 and not shortname specified selects the main file. If id=0 but shortname specified then it is removed the include file with the specified shortname.

  • shortname (hwString) – The shortname of the include file. This value can be blank when id is specified. If not specified, should be blank “”.

Examples#

Remove the entities in the include with ID 3 from the display#
import hm
import hm.entities as ent

model = hm.Model()

model.removeincludefromdisplay(id=3, shortname="")
Remove the entities in the include with shortname “ elems.fem “ from the display#
import hm
import hm.entities as ent

model = hm.Model()

model.removeincludefromdisplay(id=0, shortname="elems.fem")