sift:command_line
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| sift:command_line [2025/12/18 14:58] – sgranger | sift:command_line [2026/08/21 16:02] (current) – wikisysop | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== Sift Command Line ===== | + | ====== Sift Command Line ====== |
| - | It is possible to run sift from the command line, this offers several advantages: | + | Running Sift from the command line offers several advantages: |
| - | * With no need to update a GUI or plots the application will run much faster | + | * With no need to update a GUI or plots, the application will run much faster |
| - | * With experience it makes it possible to quickly execute commands | + | * With experience, it makes it possible to quickly execute commands |
| - | * Creating a bat file or python script it is possible to completely automate processing | + | * Creating a bat file or python script |
| Line 38: | Line 38: | ||
| + | ---- | ||
| ===== Command Reference ===== | ===== Command Reference ===== | ||
| + | ---- | ||
| + | ==== -LoadLib / -l ==== | ||
| + | ---- | ||
| + | Search the provided directory and all sub directories for .cmz files and load them into the library | ||
| + | === Parameters === | ||
| + | __**directory (DEFAULT) (REQUIRED) **__ \\ | ||
| + | A path to the root directory to be searched recursively for .cmzs | ||
| + | * **Data Type:** String (Directory) | ||
| + | * **Default Value:** N/A | ||
| + | __**libQuery **__ \\ | ||
| + | The query used to refine the files loaded into the library | ||
| + | * **Data Type:** String | ||
| + | * **Default Value:** NULL | ||
| + | __**libSubjTags **__ \\ | ||
| + | A list of subject tags that must be included within the .cmzs | ||
| + | * **Data Type:** String | ||
| + | * **Default Value:** NULL | ||
| + | < | ||
| + | |||
| ---- | ---- | ||
| ==== -LoadLib / -l ==== | ==== -LoadLib / -l ==== | ||
| Line 203: | Line 223: | ||
| * **Default Value:** false | * **Default Value:** false | ||
| < | < | ||
| + | |||
| + | ---- | ||
| + | ==== -MakeHybridModel ==== | ||
| + | ---- | ||
| + | Adds the MakeHybridModel module to the build CMZ function. | ||
| + | === Parameters === | ||
| + | __**currentFileDirectory (DEFAULT) (REQUIRED) **__ \\ | ||
| + | Path to library directory | ||
| + | * **Data Type:** String (Directory) | ||
| + | * **Default Value:** N/A | ||
| + | __**modelTemplateFile (REQUIRED) **__ \\ | ||
| + | Path to MDH settings file | ||
| + | * **Data Type:** String (File Path) | ||
| + | * **Default Value:** N/A | ||
| + | < | ||
| + | |||
| + | ---- | ||
| + | ==== -MergeData / -Merge ==== | ||
| + | ---- | ||
| + | Adds the MergeData module to the build CMZ function. | ||
| + | === Parameters === | ||
| + | __**mergeScriptFile (DEFAULT) (REQUIRED) **__ \\ | ||
| + | Path to V3S script file | ||
| + | * **Data Type:** String (File Path) | ||
| + | * **Default Value:** N/A | ||
| + | < | ||
| + | |||
| + | ---- | ||
| + | ==== -AddMetaData / -Merge ==== | ||
| + | ---- | ||
| + | Adds the AddMetaData module to the build CMZ function. | ||
| + | === Parameters === | ||
| + | __**metaFile (REQUIRED) **__ \\ | ||
| + | Path to CSV metadata file | ||
| + | * **Data Type:** String (File Path) | ||
| + | * **Default Value:** N/A | ||
| + | __**settingsFile (DEFAULT) **__ \\ | ||
| + | Path to XML settings file for metaData selections | ||
| + | * **Data Type:** String (File Path) | ||
| + | * **Default Value:** NULL | ||
| + | < | ||
| + | |||
| + | ---- | ||
| + | ==== -TagByFile ==== | ||
| + | ---- | ||
| + | Adds the TagByFile module to the build CMZ function. | ||
| + | === Parameters === | ||
| + | __**MaskAndTag (DEFAULT) (REQUIRED) **__ \\ | ||
| + | String containing the file mask followed by the tag to assign the file. These should be separated with a colon ':' | ||
| + | * **Data Type:** List | ||
| + | * **Default Value:** N/A | ||
| + | < | ||
| + | |||
| + | ---- | ||
| + | ==== -AddV3DScript ==== | ||
| + | ---- | ||
| + | Adds the V3D Script module to the build CMZ function. | ||
| + | === Parameters === | ||
| + | __**scriptFile (DEFAULT) (REQUIRED) **__ \\ | ||
| + | Path to script file | ||
| + | * **Data Type:** List | ||
| + | * **Default Value:** N/A | ||
| + | < | ||
| + | |||
| + | ---- | ||
| + | ==== -BuildCMZ ==== | ||
| + | ---- | ||
| + | Main function for building CMZ workspaces. Calls sub functions | ||
| + | ~ directory | ||
| + | ~ settingsFile | ||
| + | ~ preview | ||
| + | === Parameters === | ||
| + | __**directory (DEFAULT) (REQUIRED) **__ \\ | ||
| + | A path to the root directory to be searched recursively for .c3ds | ||
| + | * **Data Type:** String (Directory) | ||
| + | * **Default Value:** N/A | ||
| + | __**settingsFile**__ \\ | ||
| + | A .xml file containing buildCMZ dialog settings saved from the GUI | ||
| + | * **Data Type:** String (File Path) | ||
| + | * **Default Value:** N/A | ||
| + | __**preview**__ \\ | ||
| + | If passed Sift will provide a preview of the build it will run and ask the user if they wish to continue. | ||
| + | * **Data Type:** Boolean (True / False) | ||
| + | * **Default Value:** false | ||
| + | < | ||
| ---- | ---- | ||
sift/command_line.1766069897.txt.gz · Last modified: by sgranger
