Model.feinputoffsetid#

Model.feinputoffsetid(entity_type, offsetvalue)#

Sets the value to offset the IDs of the entity type during feinput.

Parameters:
  • entity_type (EntityFullType) – The entity type to be offset.

  • offsetvalue (int) – The number added to each entity of the type passed to during feinput.

Example#

Offset the node entities by 10#
import hm
import hm.entities as ent

model = hm.Model()

model.feinputoffsetid(entity_type=ent.Node, offsetvalue=10)