Model.createcrbrelation#

Model.createcrbrelation(main_component_id, secondary_component_id)#

Creates a main-secondary relationship for LS-DYNA * CONSTRAINED_RIGID_BODIES keyword.

Parameters:
  • main_component_id (unsigned int) – The ID of the main rigid component.

  • secondary_component_id (unsigned int) – The ID of the secondary rigid component.

Example#

Create a main-secondary relationship between main rigid component with ID 100 and secondary rigid component with ID 200#
import hm
import hm.entities as ent

model = hm.Model()

model.createcrbrelation(main_component_id=100, secondary_component_id=200)