Command Line 6.3

1. Using the command line

The command line is a new feature in newFASANT V6. It provides numerous commands that can be used for multiple purposes, like drawing geometries or changing the GUI configuration.

The command line panel is located at the bottom of the main window. In this panel the user can issue commands to be processed by the application. The available commands are listed in section 2 and explained in section 3.


 Calling the box command using interactive mode

Most commands (especially those related to geometry) have two modes of invocation: inline mode and interactive mode. In the inline mode, the command is called by specifying the command name followed by all the arguments the command needs to work. In interactive mode, commands are called by specifying their name (in some cases, a modifier can also be specified to alter its behaviour) and then the command line asks for the required parameters, one by one. The latter mode is easier to use when the user does not know the order of the parameters used by the inline mode (which can be queried by calling the command with the –h modifier). It is possible to abort a command while in interactive mode by pressing the Esc key, or to jump into the previous step by pressing the Ctrl+Left keys combination. The previous figure shows the box command called in interactive mode, whereas the following figure shows the same command called using the inline mode. Both forms of invocation achieve the same result.

 Calling the box command using inline mode

Commands that are used to create geometric primitives are called in a similar way. The -n modifier is optional and, if it's present, it must be followed by a user-given name for the created geometry. This name can be used to refer to the created object in commands that represent geometric operations (like copy, rotate or array). If the -n modifier is not present, the created object will be given an automatically generated name.

In the other hand, the -p modifier is mandatory and must be followed by the parameters needed for the creation of the geometry. In case of doubt about the meaning and the order of the parameters needed to create a certain primitive, it is recommended to run the command with only the -h modifier to obtain help. Alternatively, consult Section 3 of this User Guide.

For further information about the commands general behaviour, use the help command.


We use cookies on this website to improve your navigation experience on this site. By using this site, you agree to our cookie policy.

I agree