cfopen#

Mapdl.cfopen(fname='', ext='', loc='', **kwargs)[source]#

Opens a “command” file.

APDL Command: *CFOPEN

Warning

This command must be run using non_interactive

Parameters:
fname

File name and directory path (248 characters maximum, including the characters needed for the directory path). An unspecified directory path defaults to the working directory; in this case, you can use all 248 characters for the file name.

ext

Filename extension (eight-character maximum).

loc

Determines whether existing file will be overwritten or appended:

(blank) : The existing file will be overwritten. APPEND : The file will be appended to the existing file.

Notes

Data processed with the *VWRITE command will also be written to this file if the file is open when the *VWRITE command is issued.

This command is valid in any processor.