Parameters#
- class ansys.mapdl.core.parameters.Parameters(mapdl)#
Collection of MAPDL parameters.
Notes
See Setting and retrieving parameters for additional notes.
Examples
Simply list all parameters except for MAPDL MATH parameters.
>>> mapdl.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
Return a shallow copy of the dictionary.
Return a view object that contains the key-value pairs in the dictionary.
Return a view object that contains the keys in the dictionary.
Return a view object that contains the values in the dictionary.
Attributes
Active coordinate system
Active display coordinate system
Active element coordinate system
Active material
Number of Distributed MAPDL processes being used.
The current platform.
Active real constant set
MAPDL revision version.
Current routine string as a string.
Active result coordinate system
Active section number
Active element type
Units specified by /UNITS command.