open_apdl_log#

Mapdl.open_apdl_log(filename, mode='w')#

Start writing all APDL commands to an MAPDL input file.

Parameters:
filenamestr

Filename of the log.

modestr, optional

Python file modes (for example, 'a', 'w'). Should be either write or append.

Return type:

None

Examples

Begin writing APDL commands to "log.inp".

>>> mapdl.open_apdl_log("log.inp")