Macro files#
这些 APDL 命令用于构建和执行命令宏。
Note
这里的大部分命令都可以用 Python 替代。例如,不使用宏,而使用 Python 函数。用 os.mkdir
代替 /MKDIR
。
Warning
这里的许多命令必须在 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. |