Model.CE_FE_UnregisterSharedEntitiesByMark#

Model.CE_FE_UnregisterSharedEntitiesByMark(collection)#

Un-registers registered entities from multiple connectors.

This will only remove the references of the entities from the connectors. This will not delete the actual entities. This sets the connectors to the modified state after the un-registration.

Parameters:

collection (Collection) – The collection containing the registered connector entities to unregister to.

Example#

Unregister from connectors with IDs 1-10#
import hm
import hm.entities as ent

model = hm.Model()

ce = hm.Collection(model, ent.Connector, list(range(1, 11)))

model.CE_FE_UnregisterSharedEntitiesByMark(collection=ce)