Mapdl.lcfile(lcno='', fname='', ext='', **kwargs)

Creates a load case from an existing load case file.


  • lcno – Arbitrary (1-99) pointer number assigned to this load case.

  • 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).


Creates a load case by establishing a pointer to an existing load case file [LCWRITE]. This pointer (LCNO) can then be used on the LCASE or LCOPER commands to read the load case data into the database. This command is typically used to reestablish load case pointers in a new ANSYS session (pointers are not saved on the database file), or when more than one pointer to a single load case is desired. See the LCDEF command for status and erase operations. See also LCDEF to establish a pointer to a set of results on a results file (written during the ANSYS solution phase).