PLM之家PLMHome-工业软件与AI结合践行者

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

[复制链接]

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

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

admin 楼主

2020-2-21 10:15:41

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

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

x

+ c; P5 T2 T' z( y0 }6 L$ U7 C# U- I  W

1 x  A4 I. N. q- `/ L[mw_shl_code=bash,true]Start an NX command shell and set the following variables:
1 D- [" ]8 B; H$ O4 n/ m
  ^! F0 X" }9 K# G9 `    set FMS_HOME=<path to TCcs>! E1 w( d, U9 i+ ]
    set UGII_UGMGR_COMMUNICATION=HTTP/ m; t) U% X1 U* F7 F+ c: w8 _* y
    set UGII_UGMGR_HTTP_URL=http://<servername>:<port>/path
# f- u/ P5 F3 ]7 y0 x" m
' ]. x( }9 ]+ xIf you are unsure of the URL run the Configuration Manager in TEM to perform
1 V7 H9 p6 i" H1 cmaintenance on your existing 4-tier configuration.  Choose Modify 4-tier   y8 ]/ i# D) _3 e1 `& q" j
server settings to list the URI of the server.        Enter this path for the / n2 J0 _7 x% }. H* n# f, E
variable.$ A( `1 d* B5 K" D# y% \, c/ R
* F1 |( @$ k- {9 `* Q$ ?$ p
Optional: At this point you can verify that NX starts and is communicating
) t/ c% m0 [) A% k5 f' V# @$ y( owith TC by entering the following command: ugraf -pim=yes -u=<username>
0 @4 b  G, F1 Z9 R, v-p=<password> -g=<group>.  Close the NX session.+ F0 f0 p( B6 U% B

: m  Z8 j4 s3 n4 PTo execute the ugtopv command you can either set the PVTRANSUI_DIR as per the
6 B  t5 C, U7 [, E4 C- D4 c8 [ugii_env_ug.dat, or change your directory to the pvtrans directory prior to
$ u: m8 h. T5 r! _. ?running the command.. l) t3 Y( K3 E# u4 B, o) M, _+ P

# _9 I7 Z$ x; O' m+ X' n: Z$ w. y    set PVTRANSUI_DIR=%UGII_BASE_DIR%\pvtrans3 f; u, Z/ }3 q  A
% U- d4 S8 Y, R7 D' p& A  @& k
Finally, enter the ugtopv command: ugtopv @DB/<item>/<rev> -pim=yes -u -p -g[/mw_shl_code]) h; K0 c/ O  B# D& p1 P
上海点团信息科技有限公司,承接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二次开发专题模块培训报名开始啦

    我知道了