constraints

Unless otherwise specified, data names are accessible in level 3 only.

activesuppressed
Returns non-zero if the entity is set inactive, 0 otherwise.
Type: integer
attributesmax
The number of attributes owned by this entity.
Type: unsigned integer
body1
The body to be constrained.
Type: entity
color
The 1-64 color of the entity.
Type: integer
color_rgb
The RGB color of the entity.
Type: string
config
The configuration of the entity.
15 - Point location
16 - Point node
17 - Coupler/linker
18 - Distance
Type: unsigned integer
couplerid
The ID of the linker constraint.
Type: unsigned integer
definedentity
True if the entity is defined, false otherwise.
Type: Boolean
distance
The disatance to be maintained between two nodes for config 18.
Type: double
distance_node_1
The node 1 ID for config 18. The specified distance is maintained between distance_node_1 and distance_node_2.
Type: entity
distance_node_2
The node 2 ID for config 18. The specified distance is maintained between distance_node_1 and distance_node_2.
Type: entity
factor1
The ratio of movement between linked joints.
factor1 * movement of joint1 + factor2 * movement of joint2 = 0
Type: double
factor2
The ratio of movement between linked joints.
factor1 * movement of joint1 + factor2 * movement of joint2 = 0
Type: double
factor3
The ratio of movement between linked joints when three joints are linked.
factor1 * movement of joint1 + factor2 * movement of joint2 + factor3 * movement of joint3 = 0
Type: double
fixed_dof
The degrees of freedom of the entity.
Type: integer array
fixed_dof_system
The local coordinate system used to define fixed_dof.
Type: entity
id
The ID of the entity.
Type: unsigned integer
include
The ID of the include file the entity is organized in.
Type: entity
includeid
The ID of the include file the entity is organized in.
Type: unsigned integer
internalid
The ID of the entity.
Type: unsigned integer
joint1
The ID of joint 1 for linked joints.
Type: entity
joint1_axis
The degree of freedom of the first linked joint. 0/1/2 are translation degrees of freedom in the x/y/z axis of the joint respectively. 3/4/5 are rotational degrees of freedom around the x/y/z axis of the joint respectively.
Type: unsigned integer
joint2
The ID of joint 2 for linked joints.
Type: entity
joint2_axis
The degree of freedom of the second linked joint. 0/1/2 are translation degrees of freedom in the x/y/z axis of the joint respectively. 3/4/5 are rotational degrees of freedom around the x/y/z axis of the joint respectively.
Type: unsigned integer
joint3
The ID of joint 3 for linked joints.
Type: entity
joint3_axis
The degree of freedom of the third linked joint. 0/1/2 are translation degrees of freedom in the x/y/z axis of the joint respectively. 3/4/5 are rotational degrees of freedom around the x/y/z axis of the joint respectively.
Type: unsigned integer
name
The name of the entity.
Type: string
outputsuppressed
Returns non-zero if the entity is set "do not export", 0 otherwise.
Type: integer
pointnode
The node at which the constraint is defined.
Type: entity
position1
The coordinate location of the constraint.
Type: triple double
solverkeyword
The name of the solver keyword.
Type: string

Version History

2020 - Added new data names color_rgb, couplerid, color_rgb, distance, distance_node_1, distance_node_2, factor1, factor2, factor3, joint1, joint1_axis, joint2, joint2_axis, joint3 and joint3_axis. Added new config values 17 and 18.

2020.1 - Added new data name solverkeyword.