查看: 2282|回复: 0

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

[复制链接]

2477

主题

1280

回帖

8万

积分

管理员

PLM之家站长

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

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

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

×
! F& ?+ q" \4 q
- Y8 ^- T' a2 f! \6 K3 A: o5 \

5 @! K) T) l- X3 Q( D, k[mw_shl_code=bash,true]Start an NX command shell and set the following variables:
3 g5 h; K8 r8 W% d9 B# y* ?6 l/ C' R) w9 X! c& V
    set FMS_HOME=<path to TCcs>
2 ?4 P  Z/ b9 R- d& q) I/ i3 ?    set UGII_UGMGR_COMMUNICATION=HTTP3 M1 i& {- C/ `- g
    set UGII_UGMGR_HTTP_URL=http://<servername>:<port>/path
, w' b0 J2 f! @6 h% W9 Y. V# l
/ \* e; [- ]8 D9 u' t, G$ }If you are unsure of the URL run the Configuration Manager in TEM to perform % ]$ o, h' Y8 [0 O9 f
maintenance on your existing 4-tier configuration.  Choose Modify 4-tier ( _+ M0 [6 ~+ _9 f. z
server settings to list the URI of the server.        Enter this path for the
( R- s/ ]" x" ?! `4 Ovariable.
( X6 R) t" `- n' e- }, @& T- U
6 u# T8 c! x$ H0 NOptional: At this point you can verify that NX starts and is communicating ( j% x& T9 ~& B' a7 B6 I
with TC by entering the following command: ugraf -pim=yes -u=<username>
% l0 m0 b: x% ]$ s-p=<password> -g=<group>.  Close the NX session.
; n2 o) b3 p; E! X8 P; {% Y! {: H" |0 @1 n% g5 `  H5 X
To execute the ugtopv command you can either set the PVTRANSUI_DIR as per the
; n% `$ v5 J) J* E- Yugii_env_ug.dat, or change your directory to the pvtrans directory prior to
; W: J, g5 w/ Z. D# Arunning the command.
& w9 n) B: a; g% c# n1 d4 [% C" A
    set PVTRANSUI_DIR=%UGII_BASE_DIR%\pvtrans- i( b9 Y) v. y9 c5 m  G
$ }: R; w* ?6 J/ d/ o
Finally, enter the ugtopv command: ugtopv @DB/<item>/<rev> -pim=yes -u -p -g[/mw_shl_code]2 C. u$ V' A+ `$ D) b. Z
上海点团信息科技有限公司,承接UG NX,CATIA,CREO,Solidworks 等CAx软件,Teamcenter,3D Experience等PLM软件,工业4.0数字化软件的实施\二次开发\培训相关业务,详情QQ 939801026 Tel 18301858168 网址 doTeam.tech
回复

使用道具 举报

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

本版积分规则

在本版发帖
关注公众号
QQ客服返回顶部