Hello,
I am trying to apply velocity to a rigid component with card *boundary_prescribed_motion_rigid & want to specify rigid component ID in TYPEID. When I am using following code, it is creating different card but dont take Rigid comp id as input.
import hm
import hm.entities as ent
model = hm.Model()
loadcol = ent.Loadcol(model, cardimage="NoCardImage", name="Velocity")
loadvelocity1 = ent.LoadVelocity(model)
loadvelocity1.engineering_type = 3
loadvelocity1.type = 5
rigid_part = ent.Component(model, 634)
loadvelocity1.rigid_part = rigid_part
loadvelocity1.load_dof = 3
curveid = ent.Curve(model, 1000002)
loadvelocity1.curveid = curveid
loadvelocity1.magnitude = 1
Ideally, it should generate Card as shown in Picture 1, but it creates like Picture 2 using python lines.
Picture 1
Picture 2