/ `( R# b1 i6 }2 a) a+ h: `! r& V( S. W4 }' ?9 c+ ]+ Q6 Y
[mw_shl_code=bash,true]Start an NX command shell and set the following variables:3 R9 _2 `6 M: n5 |& w
% P) j' O- ~2 { set FMS_HOME=<path to TCcs>5 K) n. ~5 u6 |
set UGII_UGMGR_COMMUNICATION=HTTP5 S; ~+ y* Y7 P" `. F8 o
set UGII_UGMGR_HTTP_URL=http://<servername>:<port>/path 5 k) k+ @- g' W7 f" [: I R; m# d8 F8 S+ K( q2 s* e' S; z7 k
If you are unsure of the URL run the Configuration Manager in TEM to perform * B4 N! G% Q0 b% I0 {& k
maintenance on your existing 4-tier configuration. Choose Modify 4-tier " d6 C5 f! |$ @, ?4 G. D) _server settings to list the URI of the server. Enter this path for the 5 S/ U0 _2 p, R5 ~% Y
variable.4 p& [$ t: a* Z& L, L
& u5 e, T5 ~# e8 Z
Optional: At this point you can verify that NX starts and is communicating 0 i3 E: r/ b5 U, e4 owith TC by entering the following command: ugraf -pim=yes -u=<username> 1 f, G& C. ^6 q' k8 G1 [8 L2 a-p=<password> -g=<group>. Close the NX session. 6 u- B4 c+ z" A& b% ~" I, a' z1 s; R 5 K4 j( t. v8 RTo execute the ugtopv command you can either set the PVTRANSUI_DIR as per the + P; k- f! Z( a: h$ Wugii_env_ug.dat, or change your directory to the pvtrans directory prior to 4 m8 e& F$ K1 Zrunning the command.$ c2 Z M7 C: F# R' v/ h
. S9 ~( r- @% E4 h" {! a
set PVTRANSUI_DIR=%UGII_BASE_DIR%\pvtrans S# a% Z$ f6 M% X! G " J/ {' `/ ~$ dFinally, enter the ugtopv command: ugtopv @DB/<item>/<rev> -pim=yes -u -p -g[/mw_shl_code] ; E& a' w4 r+ f$ c
上海点团信息科技有限公司,承接UG NX,CATIA,CREO,Solidworks 等CAx软件,Teamcenter,3D Experience等PLM软件,工业4.0数字化软件的实施\二次开发\培训相关业务,详情QQ 939801026 Tel 18301858168 网址 www.doteam.tech