Command Line Execution
Install and invoke SimSolid from the operating system command line.
Silent Installation
SimSolid supports silent installation through the command line. This is intended to centralize remote management and better support for large installations.
AltairSimSolid2024.exe -i silent -DUSER_INSTALL_DIR=<installation directory> -
DACCEPT_EULA=YES
Example:AltairSimSolid2024.exe -i silent -DUSER_INSTALL_DIR="C:\Program Files\Altair\2023_testing" -
DACCEPT_EULA=YES
Invocation
Invoke SimSolid and import geometry from the operating system command line. Optional parameters are provided to specify CAD input file(s) and geometry import settings. The CAD file format does not need to be specified; it is auto-detected.
Optional Parameters
-f
or--file <file_path>
Note: Use this option multiple times to import multiple files.-r
or--resolution <standard | enhanced | fine | custom>
(Optional. Default is standard.)-a
or--angle <angular_deviation_in_degrees>
(Optional. Default is 15.0.)-c
or--chord <chordal_deviation_in_mm>
(Optional. Default is 0.635)-
-m
or--method <ct | parasolid>
(Optional. Default is parasolid.)
Invocation Examples
simsolid.exe -f C:\Models\example1.x_t
simsolid.exe --file C:\Models\example1.x_t
simsolid.exe -f C:\Models\example2.prt -r enhanced
simsolid.exe --file C:\Models\example2.prt --resolution enhanced
simsolid.exe -f C:\Models\example3.asm.1 -r custom -a 5 -c 0.1 -m ct
simsolid.exe --file C:\Models\example.asm.1 --resolution custom --angle 5 --chord 0.1 --method ct
Batch Mode
This mode enables running various operations by executing a JavaScript file through command line arguments. Modal and multi-loadcase analyses with regular connections is currently supported. Multi-loadcase analysis supports import of forces, remote loads and spot displacements. Boundary conditions cannot be applied to modal analysis with batch mode.
This capability is only available for the full version of SimSolid.
- Syntax
- The command line syntax for running operations in batch mode is as
follows:
Start /wait <Path to SimSolid installation folder>\simsolid.exe -s <JavaScript file path> -l <log file>
Where:
-s
indicates the JavaScript file to be executed-l
defines the log file
Example:start /wait C:\Program Files\Altair\SimSolid\2020.2\simsolid.exe -s C:\Models\Batch\modal.js -l C:\Models\Batch\log.txt
- Parametrization
-
The JavaScript file can be parametrized and executed via command line arguments. Parametrize any value using %#% , meaning %1% indicates parameter #1, %2% indicates parameter #2 and so on.
The command line syntax for running with parameters is as follows:
Start /wait <Path to SimSolid installation folder>\simsolid.exe -s <JavaScript file path> -l <log file> -p <parameter #1> -p <parameter #2>
Where:-s
indicates the JavaScript file to be executed-l
defines the log file
Example with geometry file name and solution settings parametrized:start /wait C:\"Program Files"\Altair\SimSolid\2024\simsolid.exe -s C:\Models\Batch\modal.js -l C:\Models\Batch\log.txt -p pullupbar-v2 -p global
Batch Mode Examples
Example .js files are located here: <install_directory>\2021\SimSolid2021\Examples\Batch mode.