Model.markmovetomodule#
- Model.markmovetomodule(collection, module_name)#
Organizes entities into a module.
- Parameters:
collection (Collection) – The collection containing the entities to organise.
module_name (hwString) – The name of the module to organize the entities into.
Example#
Move the components with IDs 1 - 4 into module “ Test “#import hm import hm.entities as ent model = hm.Model() comps = hm.Collection(model, ent.Component, list(range(1, 5))) model.markmovetomodule(collection=comps, module_name="Test")