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

[求助] 克隆装配问题

  [复制链接]

2014-10-6 19:44:21 3493 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 B/ |7 f! S0 X

/ z6 u' C* Y1 }UF_PART_open_quiet (view source); y& A- P2 c1 Y  {2 S# a8 \4 D; T

: h3 u7 S9 @; U, _" W
, R' C" s  o+ t8 n6 {! I$ ODefined in: uf_part.h* \# O, l4 w" d, E

( S3 H8 M6 A) S0 [. I1 o; p, l- Y& Z' F( k$ \( L

# c. C2 ?2 E/ F! A: TOverview0 L4 d8 g/ F/ y3 [% ]4 \
6 E+ w  l9 l% f8 d
% a0 G: V" s% p; h* o
Retrieves an existing NX part or Solid Edge part into the session
8 H2 J3 d2 i, O- lwithout making it the work and display part. Solid Edge parts (.par or ) F4 k" b6 A( _& {' F
.psm file extension) are opened by extracting the Parasolids data from
: x3 S# x; @* Q2 |' Tthe Solid Edge part and then importing this data into a new
$ y) e% o% e; A- z; D( _' lNX part with a .prt extension. The file name of the new NX 5 q1 ]& O1 P" }. X8 u
part has the Solid Edge part name and a ".prt" file extension.
9 C: U. U& T3 J" J+ c; G% XIf there is an existing NX part with the same name as the Solid Edge part, , O% X4 m5 O1 W4 g% F/ O6 y$ r2 k" P6 ?
then this function returns an error.
# Q/ v! b" @; w. C+ L  R5 H+ Y0 ]1 R0 V* e( _% i

/ {4 r$ x: o. z6 N  Z3 j
6 b3 d2 {9 E- y: L0 C4 B2 SEnvironment
# F  Z9 N7 f8 e$ }$ c4 r7 C/ P
5 M+ C/ `; @$ n! g7 H
' @. a! \+ P. z, l" y1 wInternal and External 2 Q6 ]& B; \  D
0 ]7 Z: O& F+ z$ _

: V5 ~4 y" R& M# Z7 `
3 E6 D- i& |& R% }0 K' O! ~. J( u! ]History
$ F5 e& c  F/ _+ G) [8 ]
4 ~* K) m: X& `6 S4 G5 h8 ^
* P0 S! X: p0 m) ~$ ?! e) nIn V15.0, this function was enhanced so that it could open Solid Edge
" y& i0 b, b' P# q+ u4 z+ B parts.
8 r1 B* h% z4 }+ J9 o& m4 J& f - n3 a" b* M. u0 U% y- f' e

: Q: ^6 j  `( T& e, I. I6 d' @$ p1 d7 |2 C1 }
Required License(s)
8 c9 B9 H0 K5 c2 X, @* i& z6 m9 y' F; p3 b
* h. C! H" G* L+ I$ I$ @
gateway
3 P8 n; q8 I. e* R) O2 `" b* g% w/ j, S7 `( n& A4 J# s
$ g' c3 v$ A5 c$ j4 b; `

& P0 R3 ~- X% N6 d! T% b# n6 N0 U" l/ D0 j: p- L
int UF_PART_open_quiet- ~! {% f0 ]& z3 H$ R; Z
($ ?1 b( K; ~* W3 ]; u) B, M

  A( r) U4 J& I8 ~2 A, Gconst char * part_name,
% e/ x  ^* R: _tag_t * part, - Z! f$ x0 u# j! ?( p6 F$ t" u/ _: X
UF_PART_load_status_t * error_status   V8 y& C) l, z

* e9 L( L/ O- w/ p) p. \)6 F* k8 o% V- W

: A9 k' f  r8 F6 n3 B- m5 zconst char * part_name Input Name of part to retrieve.
! \  D7 T& x" W$ l/ D* Y$ L* s tag_t * part Output The tag of the retrieved part or NULL_TAG if part
# u/ u  c8 V* f* X retrieval fails.
; T6 u+ z4 D6 o) r0 | UF_PART_load_status_t * error_status Output to UF_*free* The user allocated structure & X- a" m' e+ s7 m% J: H9 T) T
<error_status> is filled with the names ( L3 E& f( Z7 H& ?7 a- k
and associated error codes of any parts 5 i3 D! N" C. D
that did not load correctly. The 3 i8 |8 w" K- w7 U* m( m
structure must be freed with UF_PART_free_load_status. . w! @4 V/ \6 r* \' B# }3 u( \
For details see the definition ; O( ^) v) _0 H( ], }  w) z+ ~' p
of UF_PART_load_status_t. ) @; p( t& h  D" g% R9 t& O4 E- m
该会员没有填写今日想说内容.
回复 支持 反对

使用道具 举报

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

    我知道了