====== Set Default Folders ======
The Set_Default_Parameters command allows users to set various default folder paths that control where Visual3D will look for certain resources. The folder paths can also be viewed and modified in the Program Options dialog:
{{:DefaultDataFolders.png}}
===== Pipeline Command =====
Set_Default_Folders
! /PLUGINS=
! /SEGMENT_GRAPHICS=
! /PIPELINE=
! /REPORT_TEMPLATE=
! /MODEL_TEMPLATE=
! /MOTION_FILE=
! /DEFAULT_DATA=
! /CMO_LIBRARY_PATH=
! /DEFAULT_REPORT_TEMPLATE=
! /DEFAULT_MODEL_TEMPLATE=
;
^ Parameter ^ Description ^
|Plugin Folder |Visual3D searches this folder for Visual3D Plugins. These plugins may be processing plugins that will appear in the list of Pipeline commands, or they may be Real_Time plugins that will appear in the options for Real-Time Streaming|
|Segment Graphics Folder |The animation models associated with the model segments are stored in. If no path to an object file is selected in the Segment Properties dialog, Visual3D searches hear for the file. |
|Script Repository Folder|Default folder for Pipelines. Used mainly for the Popup Wizard. |
|Report Template Folder |Current default FOLDER for the report template. Reset every time a Report Template is opened. |
|Model Folder |Current default FOLDER for the standing trial. Reset every time a Hybrid Model is created. |
|Motion File Folder |Current default FOLDER for the motion trial. Reset every time a movement file is opened. |
|Default Data Folder |The pipeline commands may refer to the default data folder as\\ VISUAL3D_DEFAULT_FOLDER |
===== Example: Referencing Default Folders =====
Certain default folder paths can be referred to within a pipeline script. This example identifies all the CMZ files in Visual3D's default folder and all of its sub-folders:
Set_Pipeline_Parameter_To_Folder_Path
/PARAMETER_NAME=FOLDER
/PARAMETER_VALUE=VISUAL3D_DEFAULT_FOLDER
;
Set_Pipeline_Parameter_To_List_Of_Files
/PARAMETER_NAME= the name of the Pipeline Parameter created
/FOLDER= The folder from which to start the search
/SEARCH_SUBFOLDERS=TRUE
/FILE_MASK=*.cmz
;