Allows multiselection of C3D motion files and frame offsets for synchronized playback.
Set_Animate_Multiple_Files /PRIMARY_FILE_NAME= /PRIMARY_EVENT_SEQUENCE= /PRIMARY_EXCLUDE_EVENTS= /PRIMARY_X_OFFSET= /PRIMARY_Y_OFFSET= /PRIMARY_Z_OFFSET= /FILE_NAME= /EVENT_SEQUENCE= ! /EXCLUDE_EVENTS= ! /VIEW_DIALOG=TRUE /X_OFFSET= /Y_OFFSET= /Z_OFFSET= /COLOR= ;
The Command parameters are divided into the primary and secondary.
Primary is the active file in the workspace.
Secondary are the additional files to be synchronized.
PRIMARY_FILE_NAME
Sets the active file in the animation viewer
PRIMARY_EVENT_SEQUENCE=
PRIMARY_EXCLUDE_EVENTS=
An event sequence for the primary file. Only the first instance of the event sequence will be used.
PRIMARY_X_OFFSET=
PRIMARY_Y_OFFSET=
PRIMARY_Z_OFFSET=
If the primary offset is blank or is set to a number, the number is the offset
Using an expression is a special case. The expression doesn't see an offset per se,
but it sets a based value which is subtracted from the offset of the secondary files.
Secondary are the additional files to be synchronized.
FILE_NAME=
Sets the names of the files to be synchronized. Wildcards can, and probably should, be used
EVENT_SEQUENCE=
EXCLUDE_EVENTS=
An event sequence for the secondary files. Only the first instance of the event sequence will be used.
X_OFFSET=
Y_OFFSET=
Z_OFFSET=
Specified as an expression (in this case a number is an expression).
If the primary offsets are specified, and the expression is a signal, the value of the signal at the event sequence
is subtracted from the primary offset.
/COLOR=
The color is specified as a RGB hex value or a basic color such as RED or BLUE
/VIEW_DIALOG=TRUE
The dialog for the animation is automatically launched
Example. The proximal end of the right foot is aligned across all files based on the value at the event label RHS
Set_Animate_Multiple_Files /PRIMARY_FILE_NAME=*R_0001.c3d /PRIMARY_EVENT_SEQUENCE=RHS+RHS ! /PRIMARY_EXCLUDE_EVENTS= /PRIMARY_X_OFFSET=KINETIC_KINEMATIC::RFT::ProxEndPos::X /PRIMARY_Y_OFFSET=KINETIC_KINEMATIC::RFT::ProxEndPos::Y /PRIMARY_Z_OFFSET=KINETIC_KINEMATIC::RFT::ProxEndPos::Z /FILE_NAME=*R_0002.c3d+*R_0003.c3d+*R_0004.c3d /EVENT_SEQUENCE=RHS+RHS ! /EXCLUDE_EVENTS= ! /VIEW_DIALOG=TRUE /X_OFFSET=KINETIC_KINEMATIC::RFT::ProxEndPos::X /Y_OFFSET=KINETIC_KINEMATIC::RFT::ProxEndPos::Y /Z_OFFSET=KINETIC_KINEMATIC::RFT::ProxEndPos::Z /COLOR=RED+#0001FF ;