Model.setentitytypesupportedbyenggid#

Model.setentitytypesupportedbyenggid(string_array)#

Sets the entity types which will be supported by an engineering ID.

Parameters:

string_array (hwStringList) – The list of strings that contains the entity types. A value of ALL means all entity types.

Examples#

Set all entity types to be supported by engineer ID#
import hm
import hm.entities as ent

model = hm.Model()

model.setentitytypesupportedbyenggid(string_array=["ALL"])
Set elements and components to be supported by engineer ID#
import hm
import hm.entities as ent

model = hm.Model()

model.setentitytypesupportedbyenggid(string_array=["ELEMS", "COMPS"])