Model.markmovetoinclude#

Model.markmovetoinclude(collection, include_id)#

Organizes entities into an include file.

Parameters:
  • collection (Collection) – The collection containing the entities to organise.

  • include_id (unsigned int) – The ID of the include file to organize the entities into.

Example#

Move systems 4 , 8 , and 12 into include file number 2#
import hm
import hm.entities as ent

model = hm.Model()

systems = hm.Collection(model, ent.System, [4, 8, 12])
model.markmovetoinclude(collection=systems, include_id=2)