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

[求助] 克隆装配问题

  [复制链接]

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

这个是加载零件到内存
, h5 k6 M- ~1 {( o! Q& k) |/ \
) A7 l; u5 ^" b& W- HUF_PART_open_quiet (view source)% j0 N0 G$ p; ~- t; b

+ s/ S5 f! x3 A$ w4 J% T9 D) S6 }5 x
Defined in: uf_part.h
3 i* u6 \$ h; E4 k : a5 m7 B/ |" g4 D7 w1 ^
3 o% f" i9 G5 M* N5 W

6 p. u7 K' X. e* p; Y1 e1 v5 GOverview2 g( S7 g6 z5 V
$ J' Q/ ^  z: x2 z4 }
7 N; G4 Q2 N; T1 v- N
Retrieves an existing NX part or Solid Edge part into the session
. B4 E( ]" Y; a( j& c) ^5 T' h- {& gwithout making it the work and display part. Solid Edge parts (.par or
6 g8 |+ \' ^& D3 S0 Y.psm file extension) are opened by extracting the Parasolids data from
, n. ^! a0 f: z; ~+ tthe Solid Edge part and then importing this data into a new
8 \( ^" c4 U- k6 B. ?NX part with a .prt extension. The file name of the new NX
/ r& T8 y2 A0 n. W( z$ Spart has the Solid Edge part name and a ".prt" file extension.   h. H8 D+ n! I& `9 g$ C4 G! Z
If there is an existing NX part with the same name as the Solid Edge part, : L6 D1 _  b# G5 i" ?/ @2 _! @& D
then this function returns an error.
* A: F" v# F4 H% o% g$ ?( U
* R2 ~1 W' U# t- _7 e1 p* A# s3 w, ~( W) z

9 C6 N/ i( q9 [7 i+ N) F& FEnvironment% @( E. Q+ h9 r7 S$ b. _0 ~  W
- ~6 K7 u; E! ?& x' o

+ S' N, _; Y" q( h8 Z5 MInternal and External / w8 b1 D4 [4 x: }9 l. Y
; T+ X- v2 x' Y7 [  r/ e" ^
" v7 e8 \* M8 t3 Z  b
$ h2 Y5 I# J! p/ s- `1 N6 r9 c: o
History+ D* u  s3 P5 R- M3 y9 }- ~
1 k( Z# C$ `/ h; s: n1 P8 ~

5 m/ R% u$ w5 cIn V15.0, this function was enhanced so that it could open Solid Edge
. ?' w$ l0 @: U# t8 U parts. ' a/ f  K5 I) N& R, W

/ I* l- e' S% ^
3 m/ t9 q4 E/ p& w$ w
- S$ Y& \( _. Q7 d, c( P; e# t* SRequired License(s): q4 n0 |+ _$ ~$ ~; ^2 |
3 {( J: ~" J* R/ i7 a" M

9 e* p" b; E" k! R1 E- |- Dgateway+ F* T6 p  a5 n& d

+ f: O% k& A  Q* I/ ?$ M$ ?8 b5 u# K/ g: [' u# W% B+ V

1 m5 O$ ?+ r$ Y, i4 c0 Y7 i8 `* ?7 x) d7 D% }1 q- b2 w
int UF_PART_open_quiet
% X: |. O9 Z$ u4 R" _& ?/ S) }9 M(
6 D. i& ?9 j1 |  F: o4 k3 K& Z" A4 c6 J  p
const char * part_name, / u0 E8 R! G/ `# i
tag_t * part,
! |5 x2 {* E' U. QUF_PART_load_status_t * error_status & c: H/ K) q3 d; V" y

' B2 k% K: l- W* R8 v- k% Y+ P4 B)
' d$ x  r4 q, R- D% }3 o, D" `* D- O+ k1 n5 [! e4 b  l
const char * part_name Input Name of part to retrieve. % Z5 l* M1 c8 o4 T
tag_t * part Output The tag of the retrieved part or NULL_TAG if part ; a$ W5 ?) p  ?+ ^5 ?
retrieval fails.
& y& j* A4 `; ^. p* N5 I UF_PART_load_status_t * error_status Output to UF_*free* The user allocated structure
; m- U, ~- r' `* K, X" ] <error_status> is filled with the names
# g. L  _% G' I and associated error codes of any parts
; I$ Q' g* }% B0 ^- [ that did not load correctly. The * c; T% i. `5 }1 L4 R
structure must be freed with UF_PART_free_load_status. 6 V; T. c' b  P7 ~
For details see the definition
* p2 }; J2 c! K3 W. H1 c; {  L! \ of UF_PART_load_status_t. 3 i3 K8 J* A! \9 V0 s
该会员没有填写今日想说内容.
回复 支持 反对

使用道具 举报

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

    我知道了