visual3d:documentation:pipeline:model_commands:apply_model_template
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:
!********************************************** ! 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 ;
visual3d/documentation/pipeline/model_commands/apply_model_template.txt · Last modified: 2024/07/17 11:46 by sgranger