Model.CE_ConnectorCreate#
- Model.CE_ConnectorCreate(collection)#
Creates spot connector(s) at the specified location(s) by collection. No links are added to the created spot connectors.
- Parameters:
collection (Collection) – The collection containing the entities that specify the location to create connectors. Valid entities are nodes, points and lines.
Example#
Create connectors at nodes with IDs 1, 2 and 3#import hm import hm.entities as ent model = hm.Model() model.CE_ConnectorCreate(collection=hm.Collection(model, ent.Node, [1, 2, 3]))