User Tools

Site Tools


visual3d:documentation:pipeline:pipeline_commands:set_pipeline_parameter_to_list_of_model_names

Set Pipeline Parameter To List Of Model Names

Set_Pipeline_Parameter_To_List_Of_Model_Names
/PARAMETER_NAME=
! /MODEL_NAMES=
! /GET_MODELS_FROM_MOTION_FILES=
! /GET_MODELS_FROM_ACTIVE_MOTION_FILES=FALSE
! /USE_SHORT_FILENAMES=false
;

Using the Command

Understanding the parameters: PARAMETER_NAME: The name of the pipeline parameter USE_SHORT_FILENAMES: Whether you want the full filename (including the filepath or not)

The other parameters change how to use the command so there are essentially three different inputs/ways to use this command.

A. MODEL_NAMES

Specify the name (or part of the name of the models you want the full name for). Example:

Static trials in the workspace:

  • C:\Folder\Static_Shod_01.c3d
  • C:\Folder\Static_Shod_02.c3d
  • C:\Folder\Static_Barefoot_01.c3d
Set_Pipeline_Parameter_To_List_Of_Model_Names
/PARAMETER_NAME=MODEL_LIST
/MODEL_NAMES=*_Shod_*
! /GET_MODELS_FROM_MOTION_FILES=
! /GET_MODELS_FROM_ACTIVE_MOTION_FILES=FALSE
! /USE_SHORT_FILENAMES=FALSE
;

Would return:

C:\Folder\Static_Shod_01.c3d +
C:\Folder\Static_Shod_02.c3d

NOTE: This method does not currently work when in the CMO Library (August 2020).

B. GET_MODELS_FROM_MOTION_FILES

Specify the name of the associated movement trials (or a tag associated with the dynamic trials). Example:

Static trials in the workspace:

Static Dynamic
C:\Folder\Static_01.c3d* C:\Folder\Dynamic_Shod_01.c3d
* C:\Folder\Dynamic_Shod_02.c3d
* C:\Folder\Dynamic_Shod_03.c3d
C:\Folder\Static_02.c3d* C:\Folder\Dynamic_Barefoot_01.c3d
* C:\Folder\Dynamic_Barefoot_02.c3d
* C:\Folder\Dynamic_Barefoot_03.c3d
Set_Pipeline_Parameter_To_List_Of_Model_Names
/PARAMETER_NAME=MODEL_LIST
! /MODEL_NAMES=
/GET_MODELS_FROM_MOTION_FILES=*_Barefoot_*
! /GET_MODELS_FROM_ACTIVE_MOTION_FILES=FALSE
! /USE_SHORT_FILENAMES=FALSE
;

Would return:

C:\Folder\Static_02.c3d

C. GET_MODELS_FROM_ACTIVE_MOTION_FILES

Get the list of static trials associated with the Active Files in the workspace:

Set_Pipeline_Parameter_To_List_Of_Model_Names
/PARAMETER_NAME=MODEL_LIST
! /MODEL_NAMES=
! /GET_MODELS_FROM_MOTION_FILES=
/GET_MODELS_FROM_ACTIVE_MOTION_FILES=TRUE
! /USE_SHORT_FILENAMES=FALSE
;
visual3d/documentation/pipeline/pipeline_commands/set_pipeline_parameter_to_list_of_model_names.txt · Last modified: 2024/07/17 15:46 by sgranger