Model.removecrbrelation#
- Model.removecrbrelation(collection)#
Removes a main-secondary relationship for LS-DYNA * CONSTRAINED_RIGID_BODIES keyword.
If a main component is removed, then the constrainedrigidbody entity is deleted. If all secondary components are removed, the constrainedrigidbody entity is deleted.
- Parameters:
collection (Collection) – The collection containing the component entities.
Example#
Remove secondary rigid component with ID 200#import hm import hm.entities as ent model = hm.Model() model.removecrbrelation(collection=hm.Collection(model, ent.Component, [200]))