9.1. Commands

Almost all graphical user interface (GUI) interaction generates commands, and these commands are written to a file called lspost.cfile. Upon exiting LS-PrePost, this file can be renamed to replay the previous session using one of the following methods:

LS-PrePost c=commandfile

This method launches the LS-PrePost GUI and executes the commands from the command file.

LS-PrePost c=commandfile -nographics

This method does not launch the LS-PrePost GUI but still executes the commands in batch mode. Since there is no graphics window and no graphics operations, this option limits the operations to perform data extraction or any process that does not need graphics

File -> Open -> Command File

This method will open a command file selection dialog. Upon opening a command file, LS-PrePost will display the CFile Dialog.

LS-PrePost accepts the following command line arguments:

Table 9.1: Command Line Arguments

CommandAction
-usagePrints this help information .
-nographicsProcesses data without starting a graphical user interface.
d3plotLoad d3plot file .
d3plot k=keyword_fileLoad both d3plot and keyword input files .
d3thdtLoad d3thdt file .
cdb=cdb/helpWrite template create_postdb.inp file and exits .
cdb=create_postdb.inpWrite database from d3plot files .
c=command_filRun command file session .
d=database_fileLoad database file .
f=interface_force_fileLoad interface force file .
f=interface_force_fileLoad interface force file .
h=time_history_fileLoad time history file .
i=iges_fileLoad IGES file .
k=keyword_fileLoad LS_DYNA keyword file .
l=plot_labelsLoad annotation labels file .
m=macro_fileLoad command file to be used in macro .
n=nastran_bulk_dataConvert nastran data to keyword .
q=d3crack_fileLoad d3crack file .
s=d3plotLoad d3plot, write summary lspost.msg .
v=vda_fileLoad VDA file .
w=xsizeXysizeSet graphics window size .