Model.CE_FE_AutoRegisterSharedEntitiesByMark#
- Model.CE_FE_AutoRegisterSharedEntitiesByMark(collection)#
Auto register pre-existing entities to multiple connectors.
A single entity can be registered with multiple connectors. This will register pre-existing entities shared by multiple connectors’ realizations, contact definitions, etc…
Component, property, material, curve, plot, system collector, vector collector and load collector are supported for all user-profiles.
Sets and groups are supported for Abaqus, LS-DYNA, OptiStruct, PAM-CRASH and Radioss.
The registered entities could be checked by performing a X-ref on the connectors.
- Parameters:
collection (Collection) – The collection containing the connector entities to register to.
Example#
Register to connectors with IDs 1-10#import hm import hm.entities as ent model = hm.Model() connector_collection = hm.Collection(model, ent.Connector, list(range(1, 11))) model.CE_FE_AutoRegisterSharedEntitiesByMark(collection=connector_collection)