/MPLIB

/MPLIB, R-W_opt, PATH
Sets the default material library read and write paths.

Compatible Products: – | Pro | Premium | Enterprise | Ent PP | Ent Solver | DYNA

R-W_opt

Determines what path is being set. Possible values are:

READ

 — 

Set the read path.

WRITE

 — 

Set the write path.

STAT

 — 

Report what read and write paths are currently in use.

PATH

The directory path to be used for material library files.

Notes

The /MPLIB command sets two path strings used in conjunction with the material library feature and the MPREAD and MPWRITE commands.

For MPREAD, when you use the LIB option and no directory path is given in the file name, the command searches for the file in these locations: the current working directory, the user's home directory, the user-specified material library directory (as defined by the /MPLIB,READ,PATH command), and /ansys_dir/matlib.

For MPWRITE, when you use the LIB option and the directory portion of the specification for the material library file is blank, the command writes the material library file to the directory specified by the /MPLIB,WRITE,PATH command (if that path has been set). If the path has not been set, the default is to write the file to the current working directory.

The Material Library files supplied with the distribution media are meant for demonstration purposes only. These files are not intended for use in customer applications.

Menu Paths

Main Menu>Preprocessor>Loads>Load Step Opts>Other>Change Mat Props>Material Library>Lib Path Status
Main Menu>Preprocessor>Material Props>Material Library>Lib Path Status
Main Menu>Solution>Load Step Opts>Other>Change Mat Props>Material Library>Lib Path Status

Release 18.2 - © ANSYS, Inc. All rights reserved.