查看: 2183|回复: 0

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

[复制链接]

6

主题

4

回帖

60

积分

管理员

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

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

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

×

% ^- p0 \7 ?* V3 @# ^4 }' u; c) |/ K* E' A
' k( y& P, v0 i4 D) ]! C) G5 A( h! h+ `
[mw_shl_code=bash,true]Start an NX command shell and set the following variables:+ v3 k0 Y) v/ q. l8 R$ b- G) O
+ e( m' v6 ]1 J3 ^& A9 }' ^1 |
    set FMS_HOME=<path to TCcs>
9 `. ?, a  W$ F    set UGII_UGMGR_COMMUNICATION=HTTP
( C8 k% t# S8 h2 N) y* r    set UGII_UGMGR_HTTP_URL=http://<servername>:<port>/path8 d* V4 M# }: E% x% k
4 ?' @/ y; R2 ~9 K+ t0 m
If you are unsure of the URL run the Configuration Manager in TEM to perform
! h( h8 |5 C0 `" N# [maintenance on your existing 4-tier configuration.  Choose Modify 4-tier
# I. X- h2 s+ ^5 qserver settings to list the URI of the server.        Enter this path for the
! I# R' ~8 z  a  A4 N2 s5 t1 kvariable.
# C4 e5 W3 \/ E! M% x9 G
( X/ @1 C: J# |- G$ S& W% ZOptional: At this point you can verify that NX starts and is communicating
- t8 o+ R" e# I% Gwith TC by entering the following command: ugraf -pim=yes -u=<username> ( }, t9 W! L: M0 m  D* u4 W
-p=<password> -g=<group>.  Close the NX session.. {* i9 y8 l& q

+ B$ q  ~1 v  H; M" |To execute the ugtopv command you can either set the PVTRANSUI_DIR as per the ) v7 t5 W5 s: S; Y
ugii_env_ug.dat, or change your directory to the pvtrans directory prior to
# `3 E1 w  T4 o8 z) C: M8 f! crunning the command.! o% v6 t( X( K( R) w8 R* C

4 r4 x  j! ]0 I! |; }% z3 I( x3 Y1 W* `    set PVTRANSUI_DIR=%UGII_BASE_DIR%\pvtrans6 L3 z8 y1 a5 i# y6 {- Q* L

  L% W0 a8 G  S3 VFinally, enter the ugtopv command: ugtopv @DB/<item>/<rev> -pim=yes -u -p -g[/mw_shl_code]
' h4 C' ^4 e6 Y4 @
上海点团信息科技有限公司,承接UG NX,CATIA,CREO,Solidworks 等CAx软件,Teamcenter,3D Experience等PLM软件,工业4.0数字化软件的实施\二次开发\培训相关业务,详情QQ 939801026 Tel 18301858168 网址 www.doteam.tech
回复

使用道具 举报

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

本版积分规则

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