Model.CE_FE_UnregisterRealizedEntities_bycollection#
- Model.CE_FE_UnregisterRealizedEntities_bycollection(ce_collection, collection)#
Unregisters the realization entities from connectors. On successful unregistration, the state of the connector is changed to MODIFIED. Realization entities which were unregistered will not get deleted on connector unrealization.
- Parameters:
ce_collection (Collection) – The collection containing the connector entities to unregister the realization entities from.
collection (Collection) – The collection containing specific realization entities to unregister from the connectors.
Example#
Unregister all the realization system entities from all the displayed connectors#import hm import hm.entities as ent model = hm.Model() systems =hm.Collection(model, ent.System) ce = hm.CollectionByDisplayed(model, ent.Connector) model.CE_FE_UnregisterRealizedEntities_bycollection( ce_collection=ce, collection=systems )