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

[求助] 克隆装配问题

  [复制链接]

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

这个是加载零件到内存
" i9 `, C7 n. A% S) c& H# m( g+ y% E4 d- b; J
UF_PART_open_quiet (view source)1 }+ X6 q$ o7 O# H/ n
2 D9 E7 j* W7 o( J- C

3 w0 |! `( z4 R  c) YDefined in: uf_part.h
, ]" M9 A! b2 I0 h& |' v% D' ? & {, ?9 L4 A3 }! P7 [5 j: Q3 ~* v

3 |+ h" B: _, ~- s
1 R1 x4 P0 M* f9 N$ f1 A+ Y$ aOverview$ D8 b7 {6 {/ P6 I7 g

3 c0 m/ t& V3 n' f0 E) V
- _% ~8 R( H! G$ b2 d# t! ARetrieves an existing NX part or Solid Edge part into the session
" \, G# u/ c+ m$ V" ]without making it the work and display part. Solid Edge parts (.par or ( r- z( {" k! d) I* {, Q
.psm file extension) are opened by extracting the Parasolids data from
3 s/ @; K/ Y$ k! @the Solid Edge part and then importing this data into a new # i5 Q) b0 ~( q) d( F: p
NX part with a .prt extension. The file name of the new NX
3 M7 u# N# ]5 ?: z$ p( c; Z9 r. p7 g9 m/ gpart has the Solid Edge part name and a ".prt" file extension.
( V) y3 I6 V; m4 P5 v) c1 v  }" YIf there is an existing NX part with the same name as the Solid Edge part,
9 ~5 i9 e5 E& [" |. b* O8 Uthen this function returns an error. 3 e: D- W$ a2 T' E: k2 M9 ?
6 T+ [4 y4 O" B+ U  N3 o5 J" z+ M% f
- F# U3 R* l/ t1 O0 m

+ `% v$ |- `! {2 ?0 v! S5 h6 yEnvironment
& J+ V9 B7 F; x, X# R  ]* u
* B0 i; l* f) {  l/ e+ a* R
' R. `' }2 `6 P* eInternal and External
$ |1 }( X# {4 X; X9 c  s- n; o2 O. N
/ v6 a, o  j6 W  P5 h& }
3 L9 U" @; ~! M5 G) |3 ^5 G' f. Q6 w1 u# r0 ~, L
History
2 w& q0 W7 k; M. t
. w( I  Y8 j7 F$ {
# f6 v% @5 e9 R4 ?, P6 rIn V15.0, this function was enhanced so that it could open Solid Edge
& T- l  Y7 j$ j5 C parts.
, t3 }" R* v. A& l" U
2 z* ~+ @+ v9 V" v* s2 _
4 r3 _7 y! ~/ n5 r0 V7 V1 X" ~+ O, t
Required License(s)+ C" j4 ?* A$ {8 F+ \4 v

$ y" @1 f4 C& Q; V8 R9 A) I. \: a/ ?; i$ M7 J0 a. E5 ?8 T
gateway: E: _' I% N4 R% d
+ F7 P" l+ n' {3 C! V  h7 D

# \& Q8 I: A* R- K# V
6 ]. L$ \6 d# m/ R
& z. n! W1 F4 F7 g: Dint UF_PART_open_quiet% e9 r# O) \+ ]' ?
($ B3 U8 v; e5 F7 P+ t: z1 @; E1 U8 E0 Q9 o

! _$ E# z- E6 n. U! U( Fconst char * part_name,
( O$ x2 |" E/ L: B3 `tag_t * part, 5 Y" X4 {4 f$ |$ t+ b& e+ W( [+ F+ j1 @
UF_PART_load_status_t * error_status # v- t+ }7 n: B- [3 q# c

/ \! X' V3 Z2 d  |7 n# ]# p- t* H8 F)
& @4 f& z' z% Q# m' X& I; ?, _  ^3 X# ~! c$ c* O$ {7 x- z
const char * part_name Input Name of part to retrieve.
7 M& V: i  W% K tag_t * part Output The tag of the retrieved part or NULL_TAG if part
9 T+ E1 S  v7 j% t' y( e retrieval fails. 5 M( T( K0 {  e. {- S
UF_PART_load_status_t * error_status Output to UF_*free* The user allocated structure ; v4 k3 y$ C1 Q/ Z7 [- q' t( Y
<error_status> is filled with the names
# z: e' C# o- e: J% B+ e- G and associated error codes of any parts . [* R) d9 v* Q# Y1 v! Z2 E0 u
that did not load correctly. The ' Z; d+ \2 V0 m. J" K$ N. ]
structure must be freed with UF_PART_free_load_status.
7 h7 U9 h7 I7 H For details see the definition ' p1 a' Q- i7 @9 ^- a2 X
of UF_PART_load_status_t.
1 L" i$ V" g/ w* 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二次开发专题模块培训报名开始啦

    我知道了