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

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

[复制链接]

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

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

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

x

; _  B' F0 }  ~9 V8 m. d$ H& O6 g
/ J1 ]& k8 d9 t, I/ L$ u4 P7 u. B  w; ?7 n5 `, }2 a% \
[mw_shl_code=bash,true]Start an NX command shell and set the following variables:3 |5 E5 A" n4 Q1 Q7 P# f% c+ E
8 a: f' b; `8 {5 t
    set FMS_HOME=<path to TCcs>
! e0 l2 C! Y- f9 }    set UGII_UGMGR_COMMUNICATION=HTTP* @2 ?' R  P$ S6 D
    set UGII_UGMGR_HTTP_URL=http://<servername>:<port>/path
: D* J" g2 i: Y& G( Y4 `* q2 K" a  N7 z! C& F/ h1 s
If you are unsure of the URL run the Configuration Manager in TEM to perform ( y% H& L4 Z. o1 x$ u6 x; c# W4 V
maintenance on your existing 4-tier configuration.  Choose Modify 4-tier 3 f' x7 r  T* j' e$ b' ?
server settings to list the URI of the server.        Enter this path for the 7 [9 T- \9 `' L4 a' Y7 s+ p; o9 A
variable.
+ F. I2 N. T0 s& D3 B' X
( K3 O: \& U+ h! h. `7 Y% L0 J) a4 fOptional: At this point you can verify that NX starts and is communicating
# _/ Y/ m4 M9 |: M  m8 d0 Awith TC by entering the following command: ugraf -pim=yes -u=<username> $ r$ J3 p: d  h- t) j# s7 e/ o9 L
-p=<password> -g=<group>.  Close the NX session.0 q9 i$ G5 {3 @" T. t# R  B
9 q6 Y* F3 d  N$ g$ X
To execute the ugtopv command you can either set the PVTRANSUI_DIR as per the
' n) a+ X2 @' j9 t* l  Zugii_env_ug.dat, or change your directory to the pvtrans directory prior to 8 o/ |' L# R6 v0 q  W+ m
running the command.& Q; v1 U; l% \4 g7 h

: _! @. Y8 D. u5 ^  K7 E0 ^( @    set PVTRANSUI_DIR=%UGII_BASE_DIR%\pvtrans
; y; m; N+ x0 B1 l3 P3 k( V+ l; c4 u% t5 ]( X$ X
Finally, enter the ugtopv command: ugtopv @DB/<item>/<rev> -pim=yes -u -p -g[/mw_shl_code]2 n; t7 j& U$ c* m5 L
上海点团信息科技有限公司,承接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二次开发专题模块培训报名开始啦

    我知道了