Command Line Arguments
| Purpose
|
-ans <yes/no>
| Forces all prompts in MSC.Patran to be answered yes or no. Use this with extreme caution.
|
-b
| Causes MSC.Patran to execute in batch mode (without windows). If entered with no other flags, MSC.Patran will run a test of licensing and write permissions, then exit.
In batch mode, MSC.Patran does not accept input from the mouse or keyboard. If given with the -sfp flag, MSC.Patran will execute the given session file with no graphics.
|
-bg <xcolor>
-fg <xcolor>
| Sets the background and foreground colors for menu windows (not the viewport). These are typically set in the application resource file.
|
-db
| Causes MSC.Patran to open a user specified database on startup.
|
-display <device>
| Redirects display to given device. Equivalent to environment variable command:
setenv DISPLAY device:0.0
|
-EchoEnv
| Causes MSC.Patran to list environment variables that it has recognized, including those set in the .site_setup file.
|
-fn <font>
| UNIX only. Sets the font used for menu windows.
|
-tfn <font>
| UNIX only. Sets the font used for text data boxes.
|
-sfn <font>
| UNIX only. Sets the font used in spreadsheets.
|
-hb <idle/off>
| Controls the MSC.Patran heartbeat in the upper right corner of the screen. If set to idle, the heart beats constantly regardless of activity. If set to off it will never beat.
|
-l
| Enables Large Listbox mode for properties and materials.
|
-hl <#_lines>
| Sets the number of visible lines stored in the history window. Default is 200. Maximum is 10000.
|
-ifile <init.pcl file>
| Sets the PCL initialization file used at MSC.Patran startup. Defaults is $P3_HOME/init.pcl.
|
-sfp <ses_file>
| Causes MSC.Patran to execute the user supplied session file named <ses_file> upon start-up.
|
-sfr <ses_file>
| Causes MSC.Patran to open and record the executed MSC.Patran commands to the session file named <ses_file> instead of the default patran.ses.xx.
|
-showfonts
| UNIX only. Causes MSC.Patran to show which fonts are being used.
|
-stdout
| Windows only. Opens a DOS text window which displays MSC.Patran diagnostic messages. On UNIX MSC.Patran automatically writes these messages to its parent UNIX shell.
|
-stdout <log_file>
| Windows only. Writes MSC.Patran diagnostic messages to the file specified by <log_file>.
|