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

[求助] 克隆装配问题

  [复制链接]

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

这个是加载零件到内存 3 K% b& R$ `/ d6 B) v! _. J' L

8 s% B9 n9 ^2 h% s8 e1 I! YUF_PART_open_quiet (view source)6 ]: k: ~4 I9 q: r9 K

+ k+ L* E. c6 o( E+ S6 G5 x7 ?0 |) d! d6 [; g* Z
Defined in: uf_part.h# z" {& g% c& G

* o3 W! d4 m+ [; E7 ~! w
4 E8 x) U) q/ ^8 k5 p
( P9 C3 u3 g$ ~) P0 U5 ZOverview9 V6 C0 _% b! g- @

- X8 O7 N) a2 w) N4 y: z- F
% p1 }1 E0 D2 @% Z0 D. t  ZRetrieves an existing NX part or Solid Edge part into the session
& ]- M4 \: W/ jwithout making it the work and display part. Solid Edge parts (.par or
' w' Y3 A) s; {4 D1 \.psm file extension) are opened by extracting the Parasolids data from
2 Q; E' I" [/ _1 y7 Bthe Solid Edge part and then importing this data into a new / W+ p( y/ S7 z  s/ h' w( F
NX part with a .prt extension. The file name of the new NX
+ O" [' I% V* y& k" S( K" Ypart has the Solid Edge part name and a ".prt" file extension.
1 j. H4 E8 P! C! EIf there is an existing NX part with the same name as the Solid Edge part, 4 b8 d) N) p5 H2 q* j3 P, L
then this function returns an error.
7 v) Y, ?3 W, ~6 d& E" k$ X2 a& l) @# R
* O! X1 w; b0 {, T1 U% {
* B/ Q& E0 Z6 i9 l
Environment
! U/ f* Y; Z& p3 x, P% _5 T4 P6 G9 W( \; @
) i. \0 X* s" O# q" p% k4 |
Internal and External
/ o" j8 U) h9 d9 w8 y, ^5 C5 v- p0 K' W, a' g0 Y+ _/ ~

; C% b4 p1 x+ R6 G8 G
, t: s0 L' }: k0 w1 lHistory
7 |6 j5 W3 g: z4 O
' I* I$ \: F, Z9 u
+ \5 i- g0 Y) z% ^6 e( v0 kIn V15.0, this function was enhanced so that it could open Solid Edge
; T3 X/ U8 X% z: l4 M' H parts. ! D7 ]8 d. ~( i  [8 u' j
( d3 p0 ?/ w8 c
: b* |1 r- B0 P: `3 t

5 E5 x; j# U0 `% Y7 Q3 FRequired License(s)" F' h( J2 |5 }" \5 s
5 A# X. ?  W6 A0 A8 O6 P

/ h7 W% w" O9 {( B0 f4 `! @gateway
$ [3 u; _6 x* c* U% k- p: d
/ p- r! r8 J: o
8 C$ G. s- F: ~$ ]' S
- T  r/ j+ z" [1 Z1 d( x+ ?1 C5 _" g5 a9 R
int UF_PART_open_quiet6 P2 E/ T) A7 _3 ?  K
(. J) ?3 v% |6 M
  w2 y0 h  n' z1 a9 l5 z
const char * part_name, $ E9 h( D1 {8 G9 N- h. C, g
tag_t * part,
6 a+ k$ |0 d, H: uUF_PART_load_status_t * error_status
: b& f% B& {/ W6 Y' ^" O' Q1 k; s7 o2 C: A
)
7 T( m1 ]& U) k3 B; v# ^
; b8 _* r' k% m3 ]" i) cconst char * part_name Input Name of part to retrieve. + p. N* O9 Y3 Y( \; R1 `
tag_t * part Output The tag of the retrieved part or NULL_TAG if part 7 q8 h4 }. t1 w
retrieval fails. . Z- Z' P" T' U1 F, ?
UF_PART_load_status_t * error_status Output to UF_*free* The user allocated structure 0 r& w  G% P+ H, }; g3 e0 \% D
<error_status> is filled with the names 7 d3 c& p6 G# H, X
and associated error codes of any parts
6 X) N% `9 h6 `- m0 l, y1 ? that did not load correctly. The
- F! ?3 P3 f) | structure must be freed with UF_PART_free_load_status. 9 f1 Z: E$ _% f& Q
For details see the definition : v! G; z3 x+ |& P# Q
of UF_PART_load_status_t. $ L+ C( D/ e8 d2 D
该会员没有填写今日想说内容.
回复 支持 反对

使用道具 举报

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

    我知道了