PLM之家PLMHome-国产软件践行者

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

[复制链接]

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

admin 发表于 2020-2-21 10:15:41 |阅读模式

admin 楼主

2020-2-21 10:15:41

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

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

x
" k( r& L( M" @: e

: F3 p$ o5 s4 b! _: e& K; f( ?+ z
[mw_shl_code=bash,true]Start an NX command shell and set the following variables:
' q4 Y% L2 b- V* X: L" ?# `8 U
/ r9 N. h. p% L5 D1 B+ z1 T6 u! e    set FMS_HOME=<path to TCcs>
) b9 K' J! H, [( m9 d) M3 e    set UGII_UGMGR_COMMUNICATION=HTTP
3 Z/ x0 ~3 X  O% g; X) \4 z& U/ {    set UGII_UGMGR_HTTP_URL=http://<servername>:<port>/path0 u2 U0 x8 G/ k/ E
7 \" ^& u! y/ l/ X: @& O
If you are unsure of the URL run the Configuration Manager in TEM to perform 2 K; `3 W$ G3 h* v! Z; z
maintenance on your existing 4-tier configuration.  Choose Modify 4-tier 5 ~$ J2 }! G( Y5 V: Y' r
server settings to list the URI of the server.        Enter this path for the ' o% D1 e- R4 c) r: ]7 x
variable.
" e9 a7 I& g3 a. T5 K- [
5 m1 m* y( l& C/ l1 p6 H* oOptional: At this point you can verify that NX starts and is communicating   Q$ z3 W. L, z0 [
with TC by entering the following command: ugraf -pim=yes -u=<username> * U$ S4 g" k1 ^! i; [4 S
-p=<password> -g=<group>.  Close the NX session.
) u* w6 G* B; i' H; o$ N8 R
' }( A& A, ^1 A+ q! t! {3 sTo execute the ugtopv command you can either set the PVTRANSUI_DIR as per the / F1 w3 o7 W9 y. S; l5 Q& b; G. `
ugii_env_ug.dat, or change your directory to the pvtrans directory prior to
* Z6 k5 B' ^5 Q7 Qrunning the command.5 m+ b! x$ h. M9 z- }- n
, A- v: U' j, ]* E: {% ^
    set PVTRANSUI_DIR=%UGII_BASE_DIR%\pvtrans* Q9 t" \$ A$ F
1 G+ N- Z9 W' x: f9 h% w/ ]. \
Finally, enter the ugtopv command: ugtopv @DB/<item>/<rev> -pim=yes -u -p -g[/mw_shl_code]1 I& b  I9 g5 e, V; G+ B* x
上海点团信息科技有限公司,承接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二次开发专题模块培训报名开始啦

    我知道了