Model.hm_modent_getincludes#

Model.hm_modent_getincludes(entity, childrenincludes, sorted=0)#

Returns the list of includes that are managed by a subsystem.

Parameters:
  • entity (Entity) – The object describing the subsystem entity.

  • childrenincludes (unsigned int) –

    0 - Do not return children includes

    1 - Return children includes

  • sorted (unsigned int) –

    0 - Do not sort

    1 - Sort

Returns:

Example#

Get the list of include files managed by subsystem with ID 3 . Children includes will be listed ; the list is not sorted#
import hm
import hm.entities as ent

model = hm.Model()

_,result = model.hm_modent_getincludes(
    entity=ent.Subsystem(model, 3), childrenincludes=1, sorted=0
)

print("includeIds", result.includeIds)