Model.hm_morph_gethandledomains#

Model.hm_morph_gethandledomains(handle)#

Returns the domain IDs for the specified handle.

Parameters:

handle (Entity) – The object describing the handle entity.

Returns:

Example#

Get the domain IDs for a handle with ID 2#
import hm
import hm.entities as ent

model = hm.Model()

_,result = model.hm_morph_gethandledomains(handle=ent.Handle(model, 2))

print("domains",result.domains)