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:
Name of the .cfx or .cfs or .lua file to load. If the model does not exist, a new empty model is created with this name.
-h, --help
Displays the help message.
Print the version information and then exit.
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.
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
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.