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

[求助] 克隆装配问题

  [复制链接]

2014-10-6 19:44:21 3642 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

这个是加载零件到内存
& z; D+ o* Z: m) B# X+ g+ `' a$ q% X
UF_PART_open_quiet (view source)( F1 ]& l' |6 F
8 P2 t7 C* f/ z& x4 G* t; W4 i

+ ~2 t0 i/ g1 Y3 BDefined in: uf_part.h  M" e; E, y3 i/ u2 S

6 t) W/ ], i! `5 R6 Z% [, S) q. h6 L" c+ W% W

4 d+ M% v3 D% W' qOverview$ P1 h# x! D0 \

3 p7 H1 ^' h/ Y$ b, u5 w
9 u( w2 V! ~8 |+ f, O8 l1 V1 }+ k8 f) NRetrieves an existing NX part or Solid Edge part into the session . V; P$ m# z$ t. O# H" Z3 K
without making it the work and display part. Solid Edge parts (.par or
/ b# q' q. i) Z& ]! _; b.psm file extension) are opened by extracting the Parasolids data from ; ^4 H, K3 h0 o0 R
the Solid Edge part and then importing this data into a new
+ ~) S3 @5 b. @( H! O. kNX part with a .prt extension. The file name of the new NX ) M5 N, ]% }2 f& `* U- p
part has the Solid Edge part name and a ".prt" file extension.
3 u. j) f  j& e$ V9 ZIf there is an existing NX part with the same name as the Solid Edge part,
/ r9 D1 n# [8 q5 h1 W/ ?then this function returns an error. / H- ~0 r) W' f. I/ R7 Y8 I1 r

# u8 J) h; |; }4 H$ }( {% {" \) Y) H, N

; j6 J8 R, E* ^' ?+ E5 T& H& ?+ FEnvironment
: j7 r/ Z. O2 h1 n: p. T% K  s$ I: K  S, ]

5 `9 D. x& d1 s, G: z1 qInternal and External
* p) X- R. v5 y7 ~! j! a1 j8 e" }$ x0 w
+ Z1 C& b3 P3 g3 u( g9 o$ S
+ ?2 S! l! X0 V9 ?
History* b; P! S6 \0 s! q

" T6 ]8 Q6 d' f. |, K( M0 h) t) o- q9 ?( ~( A; ]* G. F
In V15.0, this function was enhanced so that it could open Solid Edge
8 M" X0 y/ T0 P* y& G2 |8 _" t% W parts. " t  G) E/ g: b0 M. ~

7 c/ _* q: M9 k; t! W5 u% t; L4 p& q, J0 q5 J' K: T

' i0 R8 S8 E7 ERequired License(s)) ]1 E# {/ V' F. W
9 w* r1 _+ J2 l8 e$ i
& n5 z1 @# g2 J9 j
gateway
9 E9 F2 l: i/ i! g( H. f
/ w, b: M! ?, r5 H( q2 T1 k9 g7 f( N( Q) s5 y- x
4 d; z  }4 \, Z, H
; h, R# U' Q" V8 `+ j
int UF_PART_open_quiet
* V: W' d. y5 r(" N+ d7 |( P( n, ]  E# b5 f! O3 c

  }: s, p9 c  vconst char * part_name,
2 M9 @2 u# Y% x0 `tag_t * part,
: ^% D" K: @7 m1 d- JUF_PART_load_status_t * error_status - e* D3 {4 e+ F7 l5 M

$ q# {. R) t( k1 R) O)( J! Y4 G) ~4 j/ t* t9 v& K  }

5 `6 C9 e3 W3 p3 y: Y$ j! e+ Vconst char * part_name Input Name of part to retrieve. , _2 }5 \3 _% H" x" j4 j
tag_t * part Output The tag of the retrieved part or NULL_TAG if part
% a  t8 ?* K! h4 ]/ D retrieval fails. 1 i! f: e5 W, i. J0 s
UF_PART_load_status_t * error_status Output to UF_*free* The user allocated structure
4 T* a2 J) f. }% H4 e2 q <error_status> is filled with the names ' j7 l) g0 L& X' M
and associated error codes of any parts
. N0 J, `5 y) Y* V+ e that did not load correctly. The ( x6 H6 y1 c$ T, ]
structure must be freed with UF_PART_free_load_status. $ k) U6 h: R3 `
For details see the definition 4 ?6 s1 M, T" i
of UF_PART_load_status_t. " s. K0 m* n- f9 i1 S, Y4 P
该会员没有填写今日想说内容.
回复 支持 反对

使用道具 举报

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二次开发专题模块培训报名开始啦

    我知道了