Appendix B. Using APDL to List File Structure and Content

The *XPL command enables you to explore the contents of a Mechanical APDL file. Use this command to traverse up and down the tree structure of the specified file and review what is in the file. Files that can be scanned include .RST, .MODE, .FULL, .CMS, and .SUB files.

The command format is:

*XPL,Action,Val1,Val2

Valid actions are:

OPEN -- Open the specified file.
CLOSE -- Close the specified file.
LIST -- List the records at the current level in the hierarchy of records.
WHERE -- Display the current location in the tree.
STEP -- Step down in the tree of records.
UP -- Go up in the tree of records.
READ -- Read a record into an APDL Math object. This option generates either a *VEC or a *DMAT object according to the record type. You do not have to create the APDL Math object before issuing *XPL,READ.
INFO -- Display information from a record.
GOTO -- Move directly to a given place in the tree of records (this avoids multiple calls to the STEP and UP options).
MARK -- Mark a set of records of the current file; the asterisk (*) character can be used to specify multiple branches/records.
COPY -- Copy the current file to a new one, ignoring the marked records.
SAVE -- Save the current file, ignoring the marked records.

Arguments Val1 and Val2 accept additional input, which varies depending on the specified action. See the *XPL command description for details.