6.2.2. Commands

6.2.2.1. Project-based Commands

Load a project: If omitted, all operations will act on an empty project with default settings.

-project ProjectFile.ftsim

Load a replay file: If present, will load the replay file before processing further steps.

-replay ReplayFile.ftrpl

Load project data from text: Specifies project data in text format to be imported into the project.

-import TextFileToImport.txt

Save project data: If present, the utility will save the project before exit. -save_as specifies an alternate file name to save; must be used along with --save option.

--save

-save_as NewProjectName.ftsim

Export project data to text: Specifies a file name to export project data to.

-export TextFileToExport.txt

Validate project data: The utility will validate the project before exiting, reporting any errors to the console.

--validate

Prepare the project for execution: The utility will prepare a run for execution. Additional arguments are required. See Preparing and Submitting Runs with the CLI.

Print project data to console: The utility will print a text representation of the project data to the console.

--print

6.2.2.2. Inputs for Geometry and Chemistry

Since geometry and chemistry are introduced to the project through file imports, two special input parameters are provided that allow specifying the file names of a geometry source file or a chemistry-set file. Specifying one or both of these input parameters causes an appropriate import command to be invoked prior to processing the rest of the text-based input.

Geometry:

 geometry_source = “/path/to/geometry.stl”

END

The appropriate geometry import command will be invoked based on the file extension.

Chemistry:

 chemistry_set=”/path/to/chemistry.cks”

END