Model.CE_DetailsCopy#

Model.CE_DetailsCopy(id, collection, reserved)#

Copies realization details from a connector to a list of connectors.

Parameters:
  • id (unsigned int) – The ID of the connector to copy from.

  • collection (Collection) – The collection containing the connector entities to copy to.

  • reserved (int) – Reserved for future development. Must be set to 0.

Example#

Copy realization details from connector with ID 1001 to connectors with IDs 1002, 1003 and 1004#
import hm
import hm.entities as ent

model = hm.Model()

model.CE_DetailsCopy(
    id=1001,
    collection=hm.Collection(model, ent.Connector, [1002, 1003, 1004]),
    reserved=0,
)