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

This command can be used to create a pipeline parameter containing a list of model names.

Pipeline Command

The command can be found in the Pipeline Workshop within the Pipeline Control folder as so:

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
;

Command Parameters

The following table shows the command parameters that can be used to define the command and their descriptions:

Parameter Description
Parameter NameName of the parameter for tagged files
Model NamesSpecify the name (or part of the name of the models you want the full name for)
Get Models From Motion FilesSpecify the name of the associated movement trials (or a tag associated with the dynamic trials)
Get Models From Active Motion FilesGet the list of static trials associated with the Active Files in the workspace
Use Short FilenamesTRUE or FALSE: Whether you want the full filename (including the filepath or not)

Examples

There are essentially three different inputs/ways to use this command:

A. MODEL_NAMES

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

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

Example:

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: by wikisysop