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

[求助] 克隆装配问题

  [复制链接]

2014-10-6 19:44:21 3774 2

19

主题

39

回帖

492

积分

中级会员

积分
492
发表于 2014-10-2 10:53:21 来自手机 | 显示全部楼层 |阅读模式

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

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

x
如何将克隆过来的零件只装入当前会话中;并未在当前目录生成文件;只保存的时候才生成;就像moldwizard调零件那样;请问怎么实现?
上海点团信息科技有限公司,承接UG NX,CATIA,CREO,Solidworks 等CAx软件,Teamcenter,3D Experience等PLM软件,工业4.0数字化软件的实施\二次开发\培训相关业务,详情QQ 939801026 Tel 18301858168 网址 www.doteam.tech
回复

使用道具 举报

全部回复2

320

主题

226

回帖

9784

积分

管理员

PLM之家NX|TC专家

积分
9784
发表于 2014-10-5 09:15:34 | 显示全部楼层
这个是加载零件到内存
  P8 d  j2 O* p, \; r3 {, ~; ^4 }& D+ c
UF_PART_open_quiet (view source)6 X8 `# O4 i( J( r% q" z

7 k% i" }. \' N! \2 L) p
. S( c3 l: q8 lDefined in: uf_part.h
2 y' n6 e/ O: v0 z4 j2 o $ R5 z: P+ L( o9 l

8 l* y8 j4 T! b% X* Z: B9 i) _$ M
7 G5 s/ m$ R, O. {Overview
) F+ H; Y% {0 Z& A& M& ]2 E; `6 n8 }$ ~# K& ?9 ^  ]  `3 }% _
4 G, ?4 r" w# k2 \& C! d+ |
Retrieves an existing NX part or Solid Edge part into the session 6 ~5 v; t% ?' u1 G1 l
without making it the work and display part. Solid Edge parts (.par or
/ {- y( H5 o6 |2 S.psm file extension) are opened by extracting the Parasolids data from
4 [' P' h4 ~3 O0 {, ~) x6 vthe Solid Edge part and then importing this data into a new 8 a; w) }6 n. z! C
NX part with a .prt extension. The file name of the new NX / N9 Q& t- u5 Y0 P+ ]6 W- r
part has the Solid Edge part name and a ".prt" file extension.
! N) p$ W/ B* @2 m4 f3 MIf there is an existing NX part with the same name as the Solid Edge part,
1 J" H5 f  J2 E7 r* wthen this function returns an error.
* U" R$ S1 k9 u+ x6 `3 ]
) `7 _/ K  F+ O1 v7 q  d+ f9 D: F: c6 {

# T/ Z0 n2 s# Z9 t: g+ _Environment5 v# P5 p  ^% Q- ^# Q4 x# Y" y

. }+ m! B+ H& o9 c, A6 o& j$ _" G; T! r
Internal and External ( h/ O% |' @; m2 d6 P1 u, A5 t
. g# d8 e5 P- ~7 m& g. v  c( r1 _( C

+ x/ U$ l9 I4 b; Z; ^9 A
5 L2 L" Z9 [9 s( ~" r# F& M- \' eHistory4 k/ f7 f) G7 g" L9 h* Y( [

. `* H# J! k1 Y$ I
5 _7 D* f% |+ RIn V15.0, this function was enhanced so that it could open Solid Edge " ]' x* Q7 Y/ c" v1 g* P9 H
parts.
% `5 s$ H, H* f. u4 t' ?
# |! c) }5 d% a4 H9 M9 F6 [8 B" E( Q
, T2 ?7 C; \- Y0 Y3 R% C. Y# {% I: K: {& M' A
Required License(s), @" \1 }) b8 S% s0 T$ B$ y4 J

4 i" L( T. n9 ~; J# O: R5 [
/ V9 f, J2 X) B2 @" |9 W8 Xgateway
2 {- R8 o' U1 `3 N* j1 H' x2 y) @
% Y7 C& G8 N2 y. y& y' @& q1 z, S9 b) J3 ?2 X. ?

8 T8 @  G3 {# @* X3 m. y
6 Z- V, Y: J4 |" r- b& Hint UF_PART_open_quiet
8 X7 Z, O. @/ _. c) ](6 e. n( _- u& Z1 ^3 h

" n3 z% W8 z# b8 `/ mconst char * part_name,
# o5 T) l$ E2 Gtag_t * part, 2 z2 r6 H( @  U6 x6 ]) X' X
UF_PART_load_status_t * error_status 8 t1 S$ i8 U0 J/ j2 n
# c$ {2 z; e' Z8 E, T5 J& W
)
: y7 p! {6 t  g& C( g8 H( Q7 |6 u- p  \9 x4 N7 Q' u) J7 i
const char * part_name Input Name of part to retrieve. % Z  ]/ F2 P2 J" s' W0 _4 r; X
tag_t * part Output The tag of the retrieved part or NULL_TAG if part 0 c& _+ L, `5 g% w1 T4 N) o) z, y$ E
retrieval fails. ; G! ?+ C* u) [! ]: F4 Z5 x- J
UF_PART_load_status_t * error_status Output to UF_*free* The user allocated structure ( Z3 w2 }$ m" n
<error_status> is filled with the names ) H4 s* O, j' K, G" C9 Q
and associated error codes of any parts 7 u0 u* S# H  @# n5 o
that did not load correctly. The
/ T; Q) V' |6 n) f  ~$ i9 C' L0 V* N structure must be freed with UF_PART_free_load_status. : S. w6 X3 I7 q/ s7 M6 C
For details see the definition
$ t: R" z9 Q" ]! @4 B of UF_PART_load_status_t.
0 ?) @4 h) j! S! D4 N2 x8 s7 v+ y1 S; h
该会员没有填写今日想说内容.
回复 支持 反对

使用道具 举报

19

主题

39

回帖

492

积分

中级会员

积分
492
 楼主| 发表于 2014-10-6 19:44:21 来自手机 | 显示全部楼层
1,用这个函数后;点保存;会不会保存到工作目录?2,怎样更改文件名加载到内存里?
上海点团信息科技有限公司,承接UG NX,CATIA,CREO,Solidworks 等CAx软件,Teamcenter,3D Experience等PLM软件,工业4.0数字化软件的实施\二次开发\培训相关业务,详情QQ 939801026 Tel 18301858168 网址 www.doteam.tech
回复 支持 反对

使用道具 举报

发表回复

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

返回列表 本版积分规则

  • 发布新帖

  • 在线客服

  • 微信

  • 客户端

  • 返回顶部

  • x
    温馨提示

    本网站(plmhome.com)为PLM之家工业软件学习官网站

    展示的视频材料全部免费,需要高清和特殊技术支持请联系 QQ: 939801026

    PLM之家NX CAM二次开发专题模块培训报名开始啦

    我知道了