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

[求助] 克隆装配问题

  [复制链接]

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

xml_ug 发表于 2014-10-2 10:53:21 PLM之家手机频道 |阅读模式

xml_ug 楼主

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.diantuankj.com/ doTeam.tech
回复

使用道具 举报

全部回复2

mildcat 发表于 2014-10-5 09:15:34

mildcat 沙发

2014-10-5 09:15:34

这个是加载零件到内存 2 _" Y8 [$ L# _9 i, S. q2 X; c! U2 _
/ k5 \) m! {6 m7 t  _" ^
UF_PART_open_quiet (view source)9 R: L; r: O  S4 [

3 _6 D6 U( l6 s4 m! x, O
8 U! T+ p3 a+ p' y9 @3 qDefined in: uf_part.h
/ S+ w  J* y8 ^2 s- y
- {( u; k- x! ?  x3 _% i4 ^
" Q3 M- i+ Q; ?+ Q( A9 d* Q
" T9 G  p* ]5 N6 @Overview
3 W$ U3 r% S$ e
" E1 k; d# Q$ w
- {9 C" I2 s+ ]& |, fRetrieves an existing NX part or Solid Edge part into the session / e/ r" n' e& R
without making it the work and display part. Solid Edge parts (.par or 2 R$ w7 e, v) N( g$ K1 g
.psm file extension) are opened by extracting the Parasolids data from % W. I. _- J$ P) _
the Solid Edge part and then importing this data into a new
/ e# ], y/ k6 I3 J$ CNX part with a .prt extension. The file name of the new NX
' _- n) W  X. ]" ~7 O7 t4 p* Mpart has the Solid Edge part name and a ".prt" file extension. , f6 z" g- g, h3 y0 r4 D4 i
If there is an existing NX part with the same name as the Solid Edge part, , E% R" V3 a, N! q: v
then this function returns an error.
# m) n. s6 O9 t+ c% T) b- S
" y$ h7 f0 J( N1 i1 x( O
8 K  [: U& C/ N
4 n( L' s( f; Q( @7 f. a3 q& ^! \Environment. {8 S. o" q' K/ ?8 @
4 A+ s/ @6 y# ]
* N9 m; T2 q7 T; D$ q
Internal and External
, Y1 n  `1 d+ \1 ]& \7 K+ Z4 w
0 ^, b* e$ C( n  z+ _/ S& {9 D9 w- B; l, ]" q% Q, F
% l) B- P/ U& L# Y
History
6 T. }; d4 R0 E8 r+ @7 h& m# i& u0 P9 t) y' p& G
8 y! w! _$ a( _+ {# _
In V15.0, this function was enhanced so that it could open Solid Edge
$ T; T/ W" g. @$ j" v( u; `1 @8 I/ D parts. . N5 p4 p. g& V3 Z2 B$ q$ E
) w0 @% t8 y( D; K$ B. c
/ j/ k, L, l7 C2 m! @8 \

6 z* N2 _# K) m. V2 [$ KRequired License(s)
$ T! `& C. n+ _, u- W4 |5 c
; w/ S1 u% \" H4 \9 j5 m" K2 b6 k; C9 n) E
gateway% d) w0 K! R8 e/ @9 p! f" P5 P: i
5 o) m# M) {/ M+ w
. @2 R2 a" e' o' O( n2 f

2 E5 E; g9 c+ i
  J/ k% F; e) b3 X4 Dint UF_PART_open_quiet0 o) [& h5 @0 w+ Z% v. s
(' H$ Y/ h" Q2 m

: d: b# d8 s  w& Nconst char * part_name, 4 y' c+ F( z/ p2 H, B: V
tag_t * part,
  \# D& _/ l8 ?- G0 U- TUF_PART_load_status_t * error_status , A- a* b$ t' Z' r1 a7 m
1 J0 H% m- m/ J& o+ }! y
)
& E: P' h# ^7 Q; E! y
5 {3 r* h8 E  k* p3 J' w1 d% ]! d* Hconst char * part_name Input Name of part to retrieve.
: S2 F, v9 {, o  u6 E. t6 k tag_t * part Output The tag of the retrieved part or NULL_TAG if part 1 _. c- y) u' N9 p* }/ r
retrieval fails. : u0 I$ A( B$ z8 f4 e+ _( v
UF_PART_load_status_t * error_status Output to UF_*free* The user allocated structure % l* _9 o+ G! b) R5 V% C3 w
<error_status> is filled with the names
) ^8 {( M9 w$ M) i; v% c0 z+ \ and associated error codes of any parts : L# M( w7 Z, K( Y8 c
that did not load correctly. The ) f9 j  `* r8 S, `
structure must be freed with UF_PART_free_load_status.   l) I, ^) v9 f1 {- j! _" x) G
For details see the definition
& X( |" `# ^4 O0 [" @& N" t" b of UF_PART_load_status_t.
/ k6 O( T' Y0 j/ l
该会员没有填写今日想说内容.
回复 支持 反对

使用道具 举报

xml_ug 发表于 2014-10-6 19:44:21 PLM之家手机频道

xml_ug 板凳

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.diantuankj.com/ doTeam.tech
回复 支持 反对

使用道具 举报

发表回复

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

返回列表 本版积分规则

  • 发布新帖

  • 在线客服

  • 微信

  • 客户端

  • 返回顶部

  • x
    温馨提示

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

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

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

    我知道了