User Tools

Site Tools


visual3d:documentation:pipeline:model_commands:apply_model_template

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
visual3d:documentation:pipeline:model_commands:apply_model_template [2024/07/16 16:59] – removed sgrangervisual3d:documentation:pipeline:model_commands:apply_model_template [2024/07/17 15:46] (current) – created sgranger
Line 1: Line 1:
 +====== Apply Model Template ======
 +
 +Apply a Model Template to a Model (Calibration File).
 +
 +Wildcards (*) can be used for FILE_NAME and MODEL_NAME.
 +
 +**Apply_Model_Template**
 +/CALIBRATION_FILE=
 +/SUBJECT_PREFIX=
 +/MODEL_TEMPLATE=
 +/SET_PROMPT=Apply Model Template
 +/MISSING_TARGET_MESSAGE=FALSE
 +**;**
 +**NOTE:** In early versions of Visual3D, this command was called **OPEN_MODEL_FILE**. Even though this name no longer appears in the pipeline dialog, if it appears in the Pipeline Script, it will still be recognized and processed correctly by Visual3D.
 +
 +An example of a script is found below:
 +
 +<code>
 +!**********************************************
 +! Apply Model Template
 +!********************************************** 
 +
 +! New Workspace
 +File_New
 +;
 +
 +! Set a path for the location of the data
 +Set_Pipeline_Parameter
 +/PARAMETER_NAME=FOLDER
 +/PARAMETER_VALUE=c:\demo files\
 +;
 +
 +! Set the parameter for the static file
 +Set_Pipeline_Parameter
 +/PARAMETER_NAME=STATIC
 +/PARAMETER_VALUE=::FOLDER&static.c3d
 +;
 +
 +! Apply the model template using the static trial. Leaving the MODEL_TEMPLATE parameter
 +! blank will bring up a dialog that allows the user to browse and select the model template
 +Apply_Model_Template
 +/MODEL_TEMPLATE=
 +/CALIBRATION_FILE=::STATIC
 +;
 +
 +! Set Weight
 +Set_Subject_Weight
 +/CALIBRATION_FILE=::STATIC
 +/WEIGHT=1.0
 +;
 +
 +! Set Height
 +Set_Subject_Height
 +/CALIBRATION_FILE=::STATIC
 +/HEIGHT=1
 +;
 +
 +! Open the movement file
 +Open_File
 +/FILE_NAME=::FOLDER&movement.c3d
 +;
 +
 +! Assign the model file to the movement file
 +Assign_Model_File
 +/CALIBRATION_FILE=::STATIC
 +/MOTION_FILE_NAMES=::FOLDER&movement.c3d
 +;
 +</code>
 +
 +
  
visual3d/documentation/pipeline/model_commands/apply_model_template.1721149173.txt.gz · Last modified: 2024/07/16 16:59 by sgranger