查看: 2112|回复: 0

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

[复制链接]

4

主题

4

回帖

52

积分

管理员

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

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

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

×
  V- U3 l5 n+ L( J
; s9 ^* g1 a. Z+ ~9 D
! w& ?& i! V3 ~, Q
[mw_shl_code=bash,true]Start an NX command shell and set the following variables:1 q% t! [3 \( g2 O1 N% M7 K1 d

. j$ |# V' @( R    set FMS_HOME=<path to TCcs>
7 Z3 Z& ~& a' u    set UGII_UGMGR_COMMUNICATION=HTTP* B4 B, i) Q! x* O9 W
    set UGII_UGMGR_HTTP_URL=http://<servername>:<port>/path
2 v7 b; ~$ |) _1 h" v+ _3 L3 k8 E0 E# w" R4 e' i+ s* {. B
If you are unsure of the URL run the Configuration Manager in TEM to perform
2 `) V( a4 Z8 n5 [5 t8 C4 |maintenance on your existing 4-tier configuration.  Choose Modify 4-tier ) [2 a$ r( m4 c
server settings to list the URI of the server.        Enter this path for the , d  H8 u( s8 j+ }, e
variable.
) v% p. T/ d- ^4 O* R3 s& H2 ?# F* c5 J  s1 m: y
Optional: At this point you can verify that NX starts and is communicating
2 M# R. b$ A/ u$ S; n8 E/ J) Bwith TC by entering the following command: ugraf -pim=yes -u=<username> . _/ p8 A/ w1 U, m7 ~7 c+ h
-p=<password> -g=<group>.  Close the NX session.  @& J( i; Q" d) k% r5 @/ G& v' h  u
7 K' Q7 ]: m" f- j* t
To execute the ugtopv command you can either set the PVTRANSUI_DIR as per the ( P% x/ l; k# X* `) h4 z9 `
ugii_env_ug.dat, or change your directory to the pvtrans directory prior to ) Y( o3 K1 M7 d9 a7 r: E. [
running the command.8 j. ?, e% Y9 L( O2 W2 K( Y& q7 P# h& ^

3 q4 x" M) u, q% y( M    set PVTRANSUI_DIR=%UGII_BASE_DIR%\pvtrans
$ f, a/ e3 [9 P" @2 y& V/ k  q) \! Y4 }
Finally, enter the ugtopv command: ugtopv @DB/<item>/<rev> -pim=yes -u -p -g[/mw_shl_code]9 B* r7 m4 Y2 u3 M) b
上海点团信息科技有限公司,承接UG NX,CATIA,CREO,Solidworks 等CAx软件,Teamcenter,3D Experience等PLM软件,工业4.0数字化软件的实施\二次开发\培训相关业务,详情QQ 939801026 Tel 18301858168 网址 www.doteam.tech
回复

使用道具 举报

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

本版积分规则

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