PyGTK GUI command-line parameters

From ASCEND

Jump to: navigation, search

The PyGTK GUI has the following command-line parameters. In particular, note that one can type

ascend mymodel.a4c

And it will launch your model, even if the model is not in the local directory -- it uses the ASCENDLIBRARY environment variable, or failing that, your .ascend.ini settings file, to find the file. And if you have multiple MODELs in your file, try

ascend mybigfile.a4c -m mylittlemodel

Full options:

usage: ascend [[-m typename] file] 

options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -m MODEL, --model=MODEL
                        specify the model to instantiate upon loading modules
  --pygtk-assets=ASSETS_DIR
                        override the configuration value for the location of
                        assets required by PyGTK for the ASCEND GUI, optional
  --library=LIBRARY_PATH
                        override the configuration value for the library path
  --no-auto-sim         disable auto-instantiation of MODEL named as the file
                        stem
Personal tools