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

[求助] 克隆装配问题

  [复制链接]

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

这个是加载零件到内存 . w$ C! ]; p/ F9 P: e( v( N
1 {: L- [: t1 {; Y" j# p) a
UF_PART_open_quiet (view source)
0 C# T+ S8 E' l( O 4 b2 r# K( `" F1 k: x# L

4 n# D, R: R0 Z% e) Y: v5 T0 {Defined in: uf_part.h
# b7 n- Q6 C! Y6 v$ I
! w, R9 [' k; k
; K/ g, v: F2 _+ g# p9 q( ^" U9 A' b# |9 ?3 d* m1 i% \9 b
Overview7 J# V- f% z. q* f! g1 b. e* [
  Y3 W7 T( j* [) E1 z2 a
% t- k8 c$ P! b' a; }3 A
Retrieves an existing NX part or Solid Edge part into the session
: E* v& a* y6 A0 q, o: w6 `) t1 bwithout making it the work and display part. Solid Edge parts (.par or 0 |% E5 ]& o, V, ^) C2 c: \; j0 ^
.psm file extension) are opened by extracting the Parasolids data from
( f) P1 Q4 J+ v% Hthe Solid Edge part and then importing this data into a new % g0 i6 U3 q5 Q& I
NX part with a .prt extension. The file name of the new NX 6 g, T! H% Y+ I0 k' F+ \
part has the Solid Edge part name and a ".prt" file extension.
8 ^. ?: a$ t( C4 M  O( UIf there is an existing NX part with the same name as the Solid Edge part,
8 g4 Q5 J' ]3 k5 W+ J, J: xthen this function returns an error.
) k5 A6 b; u  H# d) ~
0 h1 j8 V4 u/ f) H3 E* ]+ s" |: @3 c0 G* ~! j6 ^% R3 u

0 w" J  s7 y# ]4 `7 WEnvironment) Z2 f2 h" o2 a% E

1 G; l2 y& S3 Z5 Y, O/ k
$ D1 L/ U; o; I5 t5 F/ \3 ^Internal and External : T0 M- y- S$ I* S/ S
& H) Q* b0 m! F2 t6 N, Q

  t1 S- J8 B- X/ G" z3 `* X, \8 V% e) R$ \7 X' y) z
History
  R: [7 C" v$ x
! c! \7 R9 l5 `" n# p3 Q# P: e. C; j9 C3 _
In V15.0, this function was enhanced so that it could open Solid Edge + x$ ~6 @0 b8 n) C# R6 _
parts. 4 m4 Y. S: m$ |8 x8 S( Q+ t, s
/ L7 d: K4 q% [; _' q4 m( B+ N6 _8 Z

+ X, r3 y! y* d8 Y9 R0 H3 L
- ~( ^- c* z% Z: E! WRequired License(s)! `  O9 t( x. x# `

9 a  m, _  Q1 D! U( ?# Y/ S/ k4 m
gateway& V' {/ M8 @4 c; r% B
! d- Y) E  n- x
% [7 K2 W! H7 g2 O
' B5 v! ~$ U% m5 ^2 i. o

  l8 A+ Y9 f% P- V! b1 Hint UF_PART_open_quiet
9 R, y) M8 p- H5 a: N(9 O- {- q. Q, w7 r& b
. i0 [; K8 [8 Z; J$ T
const char * part_name, # J4 }* E! I' J
tag_t * part, $ v' R) C$ s! J+ H: I. N
UF_PART_load_status_t * error_status
1 w8 W% w- M& S# \
( Y6 \1 f9 W$ O" |$ z)
  j7 k% J, w8 K3 H/ M. Y
6 ^" ^. s! ]$ C- ~) Jconst char * part_name Input Name of part to retrieve. 3 q3 G% O" M: J" t+ F, C# z' m
tag_t * part Output The tag of the retrieved part or NULL_TAG if part ) G) `! A' w5 v0 _. G  q
retrieval fails.   ?: r1 }" x: v- R  a0 o9 a2 O
UF_PART_load_status_t * error_status Output to UF_*free* The user allocated structure ; h& H  w& x! S1 q$ r* x
<error_status> is filled with the names - U8 b" w2 p0 C% k9 M/ ?9 h
and associated error codes of any parts # {( a6 j- |% _+ `
that did not load correctly. The ) }; `0 {7 ]! X. `* G
structure must be freed with UF_PART_free_load_status. - x, W& I2 i6 Z: t1 F0 o0 H( N- n
For details see the definition
" T2 x8 W! Z; v  B& T of UF_PART_load_status_t. + ~7 @- v, y0 t" C, t
该会员没有填写今日想说内容.
回复 支持 反对

使用道具 举报

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

    我知道了