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

[求助] 克隆装配问题

  [复制链接]

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

这个是加载零件到内存
9 @4 c+ E6 l, @; C/ [5 R
( Y3 x; b! x3 O! cUF_PART_open_quiet (view source)# b$ f' h1 n, I$ P

% k' I: [5 z" k$ O5 U2 k2 |7 W: J6 f9 Y+ _6 g4 i9 T) h
Defined in: uf_part.h
/ d! U. ]; _" d& e$ `% z 2 r8 C( Z8 X& l
7 ^! [. x% d4 g- r9 z
; C/ p# J: Y0 s
Overview
! U2 @& d& p' E! X% I6 H9 g( q
/ R" l( J! A3 ]
' S+ V2 [) f1 bRetrieves an existing NX part or Solid Edge part into the session
: Y+ k) L7 `# G; y" n; K) Uwithout making it the work and display part. Solid Edge parts (.par or
+ c$ t! M( ^5 H' r0 U$ W8 V.psm file extension) are opened by extracting the Parasolids data from
) ?! k3 t& j" H. P' N# xthe Solid Edge part and then importing this data into a new 4 A- a7 I, X  L6 e  ]
NX part with a .prt extension. The file name of the new NX
5 g: \& o/ {! d0 V% U  y# g+ U) gpart has the Solid Edge part name and a ".prt" file extension. $ p2 z/ Z4 j$ d4 k  I
If there is an existing NX part with the same name as the Solid Edge part,
+ n8 a/ z/ m, ?  |6 S, Sthen this function returns an error.
9 J7 t$ Y% V- _) l9 c# F
# c  }% f% l$ u5 c+ n; K' A+ H3 ?/ O2 h3 @
2 Q- ^3 D' x* V  i
Environment
8 ^6 j$ u3 j" g' n0 }1 z
2 v5 [3 _7 _, Y6 R- z6 K4 o* s& ]! J4 s* q
Internal and External
% A" z3 c; S$ y. m$ S$ N8 J4 w" o- m" f2 B3 c

, D( A; |. {1 m+ K4 u" ~  x8 b1 m+ i! Y+ ~0 O- @2 I: h
History; @# V" j0 \5 {3 x' T3 }

6 C: u* ]9 T1 |/ R0 g1 B! Y% n* }8 j
5 r8 y! v% O% ?; o4 j1 lIn V15.0, this function was enhanced so that it could open Solid Edge
5 k) `+ _* N" p  z7 f, _ parts. 5 s. v9 F5 m5 Z( ]9 d, u! r

" Z& ]9 o  W+ G. B3 \! M
$ T- I' j5 b. _  l4 l
3 T- u# v* g$ @: Q0 n5 n6 l2 }  }Required License(s)
9 s  ?1 ]: c4 u+ w3 d4 _+ F2 o
) [" k9 J. G) o, \, c2 a9 z& R, t, V. A! P  t( R& f5 z; I
gateway
/ [* v9 M; m* K6 H- y; r7 G$ f$ }
9 Z6 J8 o$ `0 J3 `7 W
8 _$ ]1 P! S. m2 N1 r! I7 M

( ^9 t0 M0 u% n3 E% X2 jint UF_PART_open_quiet4 r3 p2 j% y3 D8 Z
(
/ @6 D" }! x( V5 d3 C1 N
- h/ M  G" E& s) t' {& s: x4 Wconst char * part_name, 9 |2 U. z% F) K. m9 _- H
tag_t * part,
4 Y# m. d. G% CUF_PART_load_status_t * error_status ' F7 h; y, W( F9 @- B
" ?0 }1 `( _% q' b( E5 x
)! A5 R8 `$ c" p6 G, T9 w" Z

) g1 a  S0 L# U8 I; Q6 r9 Aconst char * part_name Input Name of part to retrieve. 4 t" n& P' y( v, @+ E8 T- W
tag_t * part Output The tag of the retrieved part or NULL_TAG if part + B0 F$ l* n, n0 W+ D' ~
retrieval fails.
, X& v7 \2 o& B& t UF_PART_load_status_t * error_status Output to UF_*free* The user allocated structure
* c; p% [1 [2 z5 p# G <error_status> is filled with the names 1 k" X6 y9 j0 `( }- i
and associated error codes of any parts 7 {1 e$ W8 k* C
that did not load correctly. The
( }6 l2 s  P: `  v* Y2 W3 O structure must be freed with UF_PART_free_load_status.
. H% _5 z5 x. Q2 A! `0 S. u For details see the definition
( e7 G" J6 ~! E* Z$ l  L- g8 r$ L of UF_PART_load_status_t.
+ Y% s- ^8 {: }
该会员没有填写今日想说内容.
回复 支持 反对

使用道具 举报

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

    我知道了