MODE

Returns an integer value indicating the current analysis mode.
The following are possible integer values and their corresponding analysis modes:
1 = Kinematics
2 = Reserved
3 = Initial conditions
4 = Dynamics
5 = Statics
6 = Quasi-statics
7 = Linear analysis

Format

MODE

Argument

None

Example

The following example combines the MODE function with the IF function to define a value applied only during statics, quasi-static and linear analysis modes. For these analysis modes, we use the value of -50. For all other analyses modes, we use the value 0.
IF(MODE-4: 0, 0, -50)