Macro files#
These APDL commands are used to build and execute command macros.
Note
Most of the commands here should be replaced with Python
alternatives. For example, instead of using macros, use Python
functions. Instead of /MKDIR
use os.mkdir
.
Warning
Many of the commands here must be run in mapdl.non_interactive
|
Closes the "command" file. |
|
Opens a "command" file. |
|
Writes an ANSYS command (or similar string) to a "command" file. |
|
Opens (creates) a macro file. |
|
Changes degree-of-freedom labels for user custom elements. |
|
Closes a macro file. |
|
Creates a directory. |
|
Writes an output message via the ANSYS message subroutine. |
|
Specifies that macro contents be written to the session log file. |
|
Specifies a directory to be searched for "unknown command" macro files. |
|
Removes (deletes) a directory. |
|
Writes a list of commands to a specified file at the same time that the |
|
Identifies a macro library file. |
|
Executes a macro file. |