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

[求助] 克隆装配问题

  [复制链接]

2014-10-6 19:44:21 3697 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 J) ~! s  d: t# Q, `7 \
) N3 F3 \) E: {4 I, G  |  o% O# T& dUF_PART_open_quiet (view source)/ Q! E" Y! u( p. Q4 k$ Q# J

! L$ O1 `4 `. T' l2 x0 ^2 S1 s9 _' {6 _( h2 o& {! C+ w4 D* f- R! t
Defined in: uf_part.h9 ]6 Z; e1 D  ^: l4 p* w

5 ^* r, G. N1 D9 L; [+ w: u+ _! c% Q+ e& U! B! k4 D& j

7 u' I& J9 B% f( u) Y, G9 \+ R* |Overview
6 U' ~3 J6 y/ z- k; |# G* w$ A" s
  A( G* o# z6 Z
4 {- O1 J6 O$ a( LRetrieves an existing NX part or Solid Edge part into the session 7 X( u7 G( x% z: V# p
without making it the work and display part. Solid Edge parts (.par or
7 z5 J& W8 E  d9 H- M/ u3 e.psm file extension) are opened by extracting the Parasolids data from
. }" g# `5 Y% ethe Solid Edge part and then importing this data into a new
! x9 C0 Y9 n# K" qNX part with a .prt extension. The file name of the new NX
1 n! ], P( a8 v, Npart has the Solid Edge part name and a ".prt" file extension.
, U7 b3 U( W/ M; l% xIf there is an existing NX part with the same name as the Solid Edge part,
: t3 U5 q8 d$ k/ c4 Tthen this function returns an error. ) ~( Y+ H/ G6 B7 T7 P: [

3 l3 n  R& R9 e8 d- B5 |, z2 D* B& ^7 I  g- _5 l8 d. G
. [. i- i, N/ t& Y% d3 x
Environment* k* b$ A  L) R  N2 Q5 X

8 ?0 d% a7 n, J& y% Z
% \$ ?( ?' U" |7 G1 {Internal and External   ^0 U' m/ G+ y$ N" ?" x6 j
6 U" m0 n7 m6 j+ }" ]1 `* m
& J- b8 o% Q# E' r2 X# ]4 E

$ k; E1 b" Z9 u& ]' p0 A- THistory
) P& s" H9 [6 `( H+ X: U
/ Q1 ^: M' U( Z# n, A  l
" w( z6 x3 Z  \) k5 `: MIn V15.0, this function was enhanced so that it could open Solid Edge + L- n  w2 O! S7 ?; g8 X/ y
parts. - n. h" q- O7 ^8 J0 s% C" d" A
' f) A0 [. T. ^2 B$ v
% G1 q: |4 n. E6 @- J; E

  R: n* u. G1 D% _( \. jRequired License(s)
" C7 Y" v& U! |. a  f1 _1 U5 d( C' {

9 d0 {2 U$ @  q) x3 {! X& vgateway
* Q8 l" ~- t9 V3 h8 N' ~
* N3 C. s! J, R; J6 c: z. R1 `  F" K) T

  B* ]7 U/ o2 q1 X1 b
$ u* Q" e1 L* c  N/ P. Z$ H% ~2 dint UF_PART_open_quiet+ {. c) n' R; }0 e% H& ~
(
/ e; [' H: l: i( f5 j: d' l
( P! E7 c% c3 a! K. e" s+ bconst char * part_name, 9 |% y5 [4 }+ N& q' D# c6 p. K
tag_t * part,
5 c; @7 X& w- f( D. Z9 R4 u( iUF_PART_load_status_t * error_status * J& H- C+ _8 X- F5 d( t7 K( v9 s

7 N: s1 B, q% R: C)7 k# B# s/ m6 Y. z) A' V
, U0 E9 x# H6 p5 I
const char * part_name Input Name of part to retrieve. 9 r# v8 y& X1 Y1 r6 X' i
tag_t * part Output The tag of the retrieved part or NULL_TAG if part 0 b' q- s4 y6 [1 U
retrieval fails.
2 U3 t+ A, [6 E  M5 U+ T1 ? UF_PART_load_status_t * error_status Output to UF_*free* The user allocated structure
) \" G4 C! G6 h% f7 k <error_status> is filled with the names 8 \4 v. W- J. C, w) W8 ^% u0 e
and associated error codes of any parts
8 ^" O0 x- a5 q$ \ that did not load correctly. The 3 D( E, a: Y6 I# f6 F
structure must be freed with UF_PART_free_load_status. 1 e- `9 u4 ?  b7 Y1 S4 Z
For details see the definition
3 S1 J4 m4 z# A$ T. `3 { of UF_PART_load_status_t. # g( @7 a; Y) q$ H# Q  U
该会员没有填写今日想说内容.
回复 支持 反对

使用道具 举报

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

    我知道了