Model.setcomptopologydisplay#

Model.setcomptopologydisplay(compid, disp_type)#

Sets the various types of geometry display at the component level.

Parameters:
  • compid (int) – The ID of the component for which you wish to set the topology display mode.

  • disp_type (int) –

    The type of topology display:

    0 - Wireframe only

    1 - Shaded with edges

    2 - Shaded without edges

    3 - Wireframe with internal surface lines

Example#

Set the component with ID 1 to the wire frame display mode#
import hm
import hm.entities as ent

model = hm.Model()

model.setcomptopologydisplay(compid=1, disp_type=0)