Session Control

The following commands are used to control CUBIT execution.

Exiting the Session

The CUBIT session can be discontinued with either of the following commands

Exit

Quit

Resetting the Session

A reset of CUBIT will clear the CUBIT database of the current geometry and mesh model, allowing the user to begin a new session without exiting CUBIT. This is accomplished with the command

Reset [Genesis | Blocks | Nodesets | Sidesets]

A subset of portions of the CUBIT database to be reset can be designated using the qualifiers listed. Advanced options controlled with the Set command are not reset.

You can also reset the number of errors in the current Cubit session, using the command

Reset errors [value]

which will set the error count to the specified value, or zero if the value is left blank.

Determining the CUBIT Version

To determine information on version numbers, enter the command Version. This command reports the CUBIT version number, the date and time the executable was compiled, and the version numbers of the ACIS solid modeler and the VTK library linked into the executable. This information is useful when discussing available capabilities or software problems with CUBIT developers.

Echoing Commands

By default, commands entered by the user will be echoed to the terminal. The echo of commands is controlled with the command:

[set] echo {on | off}

Digits Displayed

CUBIT uses all available precision internally, but by default will only print out a certain number of digits in order for columns to line up nicely. The user can override that with the "set digits" command:

set  Digits [<num_to_list=-1>]

If the digits are set to -1, then the default number of digits for pretty formatting are used. If the digits are set to a specific number, such as 15, more digits of accuracy can be displayed. This may be useful when checking the exact position and size of geometric features.

Related Commands:

List Digits

Lists the number of digits used for listing positions, vectors, and lengths.

Help Digits

Help for words: digits

Examples:

CUBIT> set digits 6

Coordinates and lengths will be listed with up to 6 digits.

CUBIT> set digits 20

For this platform, max digits = 15.  Coordinates and lengths will be listed with up to 15 digits.

CUBIT> set digits -1

To reset digits to default, use 'set digits -1'

The number of coordinate and length digits listed will vary depending on the context.