Command Line Arguments for Launching CADFEKO
CADFEKO can be called via the command line. Use command line arguments to pass configuration information to CADFEKO.
If CADFEKO is launched and a file is specified, the model or .lua script is opened. Without any models specified, CADFEKO will start and display the start page.
Command-line options:
cadfeko [FILENAME] [OPTIONS]
- FILENAME
- Name of the .cfx or .lua file to load. If the model does not exist, a new empty model is created with this name.
- OPTIONS
-
- -h, --help
- Displays the help message.
- --version
- Print the version information and then exit.
- --non-interactive
- Special execution mode for running automation scripts without user interaction.
- --run-script SCRIPTFILE
- Specifies an automation script to load and run.
- --configure-script CONFIGSTRING
- Executes the string CONFIGSTRING before running the script specified in SCRIPTFILE. This option is only used with the “non-interactive” option.
- --file-info [=OUTPUTFORMAT] FILENAME.CFX
-
Display the CADFEKO versions used to create and modify the file.
cadfeko startup.cfx --file-info1
cadfeko startup.cfx --non-interactive --file-info |more2
cadfeko startup.cfx --non-interactive --file-info > versions.txt3
- =OUTPUTFORMAT
-
Optional argument that is used to specify the output format. If the argument is set to xml, version information is written out in XML format. XML will only be output to stdout, and only if --non-interactive was also specified.
cadfeko startup.cfx --file-info=xml --non-interactive | more4
1 Opens a dialog and displays the version information.
2 Writes the version information out to standard output stream (stdout).
3 Redirects the version information to the specified file.
4 Writes the version information in XML format in non-interactive mode, displaying the content one screen at a time.