Model.CE_ConnectorGroup#
- Model.CE_ConnectorGroup(connector_collection, group)#
Groups or ungroups seam connectors on mark to behave as a single/multiple seam connector(s).
- Parameters:
connector_collection (Collection) – The collection containing the entities that needs to be updated.
group (int) –
Specifies if the individual connectors on the specified mark must be grouped to behave as a single connector.
0 = ungroup
1 = group
Example#
Group the connectors with IDs 1, 2 and 3 onconnector_collection#import hm import hm.entities as ent model = hm.Model() model.CE_ConnectorGroup( connector_collection=hm.Collection(model, ent.Connector, [1, 2, 3]), group=1 )
Note
The individual connectors are grouped only if the distance between their end points is within a small tolerance value. A valid case for grouping is when connectors are created from continuous line segments. The grouped connectors behave as a single connector (during realization the weld nodes are shared among adjacent test points of connectors in group).