PLM之家PLMHome-工业软件践行者

[TC问题解决方案] 203. NX 四层环境下,执行命令的方法

[复制链接]

2020-2-21 10:15:41 1959 0

2470

主题

1275

回帖

8万

积分

管理员

PLM之家站长

积分
82162
QQ
发表于 2020-2-21 10:15:41 | 显示全部楼层 |阅读模式

请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!

您需要 登录 才可以下载或查看,没有账号?注册

x
# V! g! _5 Q5 i. k( D8 I9 M

$ q3 j/ {: u9 f0 H( X; ?+ Z' e" g7 p( |4 U- G2 w! w
[mw_shl_code=bash,true]Start an NX command shell and set the following variables:( H5 H3 |7 m* |1 n( A
6 n  ]! V) l# Z  S  B6 I* Y
    set FMS_HOME=<path to TCcs>2 r+ h. Y5 y+ A# R' ~5 T$ Q; V
    set UGII_UGMGR_COMMUNICATION=HTTP
& B% Y# l' C9 [* Z    set UGII_UGMGR_HTTP_URL=http://<servername>:<port>/path- h+ b8 D. h( i, A0 r: i; u
0 |: I& I- Y2 X: C
If you are unsure of the URL run the Configuration Manager in TEM to perform ; E1 m( m: `- T1 l5 E! a
maintenance on your existing 4-tier configuration.  Choose Modify 4-tier
- H" q# B! Q4 Q' ~/ ^server settings to list the URI of the server.        Enter this path for the ! ^) {/ \$ `, y. J( D  ?
variable.
& x- I" c/ z, e6 a5 k
- E; ^; r* J! h- ?; e# KOptional: At this point you can verify that NX starts and is communicating
4 `) t0 u+ }+ C* m5 fwith TC by entering the following command: ugraf -pim=yes -u=<username>
' l, v' ^, ~% a5 v* Q; W# f-p=<password> -g=<group>.  Close the NX session.
: r1 s+ g' }" t; P) G; c9 H7 |5 W, |; @
To execute the ugtopv command you can either set the PVTRANSUI_DIR as per the
$ e6 U5 I" d6 C0 Q0 cugii_env_ug.dat, or change your directory to the pvtrans directory prior to
  H7 o6 I" i$ P( r; w( Krunning the command.2 O4 Q  x1 C! f# h9 A
, X& T9 `2 j; g  {3 o$ Q
    set PVTRANSUI_DIR=%UGII_BASE_DIR%\pvtrans( ?* e: b2 x4 x; }" H7 n" |
9 ]7 x5 D5 g' }5 j. {) z2 Y
Finally, enter the ugtopv command: ugtopv @DB/<item>/<rev> -pim=yes -u -p -g[/mw_shl_code]8 o2 j( }# ~2 c; V: F0 B
上海点团信息科技有限公司,承接UG NX,CATIA,CREO,Solidworks 等CAx软件,Teamcenter,3D Experience等PLM软件,工业4.0数字化软件的实施\二次开发\培训相关业务,详情QQ 939801026 Tel 18301858168 网址 doTeam.tech
回复

使用道具 举报

发表回复

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

返回列表 本版积分规则

  • 发布新帖

  • 在线客服

  • 微信

  • 客户端

  • 返回顶部

  • x
    温馨提示

    本网站(plmhome.com)为PLM之家工业软件学习官网站

    展示的视频材料全部免费,需要高清和特殊技术支持请联系 QQ: 939801026

    PLM之家NX CAM二次开发专题模块培训报名开始啦

    我知道了