JPRIM

Returns constraint force component comp associated with Constraint_Jprim with the ID "id", calculated in the reference frame of marker "RM".

Format

JPRIM(id, jflag, comp, RM)

Arguments

id
The ID of the Constraint_Jprim element.
jflag
0 returns force acting on the I marker.
1 returns force acting on the J marker.
comp
1
returns the force magnitude.
2
returns the force x component.
3
returns the force y component.
4
returns the force z component.
5
returns the torque magnitude.
6
returns the torque x component.
7
returns the torque y component.
8
returns the torque z component.
RM
The reference frame in which components are reported. RM=0 implies global frame.

Example

<Post_Request
     comment             = "force on Jack"
     id                  = "9001441"
     type                = "EXPRESSION"
     expr1               = "NULL"
     expr2               = "JPRIM(214001,1,2,21401012)"
     expr3               = "JPRIM(214001,1,3,21401012)"
     expr4               = "JPRIM(214001,1,4,21401012)"
     expr5               = "NULL"
     expr6               = "NULL"
     expr7               = "NULL"
     expr8               = "NULL"
/>