找回密码
 注册
Simdroid-非首页
查看: 245|回复: 6

『收藏』patran 启动命令 挺有用的

[复制链接]
发表于 2008-12-19 15:22:53 | 显示全部楼层 |阅读模式 来自 浙江杭州
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>.

发表于 2008-12-24 10:46:13 | 显示全部楼层 来自 湖南长沙
Simdroid开发平台
谢谢
回复 不支持

使用道具 举报

发表于 2009-2-20 16:07:50 | 显示全部楼层 来自 浙江杭州
谢谢!
回复 不支持

使用道具 举报

发表于 2009-2-20 20:15:48 | 显示全部楼层 来自 江苏南京
回复 不支持

使用道具 举报

发表于 2013-8-20 13:42:07 | 显示全部楼层 来自 浙江杭州
楼主,我就想知道,这个是在哪个帮助文档里面?谢谢!
回复 不支持

使用道具 举报

发表于 2013-8-20 18:42:28 | 显示全部楼层 来自 湖北武汉
海娃 发表于 2013-8-20 13:42
楼主,我就想知道,这个是在哪个帮助文档里面?谢谢!

Installation and Operations Guide
回复 不支持

使用道具 举报

发表于 2013-9-2 15:55:03 | 显示全部楼层 来自 浙江杭州
hylovegj 发表于 2013-8-20 18:42
Installation and Operations Guide

谢谢!!!!!!太给力了!
回复 不支持

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Simapps系列直播

Archiver|小黑屋|联系我们|仿真互动网 ( 京ICP备15048925号-7 )

GMT+8, 2024-9-23 04:33 , Processed in 0.072195 second(s), 13 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表