ansys.mapdl.core.parameters.Parameters

class ansys.mapdl.core.parameters.Parameters(mapdl)

Collection of MAPDL parameters obtainable from the ansys.mapdl.core.Mapdl.get() command.

Examples

Simply list all parameters except for MAPDL MATH parameters

>>> mapdl.parameters
ARR                              : ARRAY DIM (3, 1, 1)
PARM_FLOAT                       : 20.0
PARM_INT                         : 10.0
PARM_LONG_STR                    : "stringstringstringstringstringst"
PARM_STR                         : "string"
PORT                             : 50052.0

Get a parameter

>>> mapdl.parameters['PARM_FLOAT']
20.0

Get an array parameter

>>> mapdl.parameters['ARR']
array([1., 2., 3.])

Methods

Attributes

Parameters.csys

Active coordinate system

Parameters.dsys

Active display coordinate system

Parameters.esys

Active element coordinate system

Parameters.material

Active material

Parameters.platform

The current platform.

Parameters.real

Active real constant set

Parameters.revision

MAPDL revision version.

Parameters.routine

Current routine string as a string.

Parameters.rsys

Active result coordinate system

Parameters.section

Active section number

Parameters.type

Active element type

Parameters.units

Units specified by /UNITS command.