|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
一个比较好用的函数,JT 文件转换成 Part文件
; z% F& @7 Q5 m+ D2 ]3 B9 i# ?/ E# r- Z* W5 M6 k( S5 p
UF_PART_update_jt_brep (view source)
, \8 F n9 q* v5 ^
$ v6 ?8 X. k# f8 W$ H6 Y( r+ [Defined in: uf_part.h
/ b& Z3 a: c- n W1 ~ 2 f/ v# N+ p: X9 T4 ?
8 S+ M j% x9 X6 b2 e; e
Overview
. x+ F$ }) ]2 g4 L, g( [
4 R( b& ^% }' \2 D/ x @, OGiven a part that originated from JT data, update it with the BREP data. * f8 g+ e* K. {$ ]0 _
" U* j Z/ F- _, N0 W2 G7 C
NOTE: it's an error if the input part tag does not come from a JT file. ( k Q) m, _. Y* x
: T6 h+ U( q) n
' s( W! b# x) w7 Z* O$ ?% lReturn5 @. u+ R1 ^, D$ F
4 ~, R* c0 k, B* TReturn code: + ~ Q7 J3 F7 q3 R% w/ j! w
0 = Success # j3 Q3 C7 X' u
> 0 = Error code, use UF_get_fail_message to % g h! |+ T( ]* ~! z* W
obtain error message string 9 T- S+ r8 d/ M+ m8 I
: ]5 P p- ]8 X3 e
7 ?0 c( }0 J. UEnvironment+ Q. R( i; @' B7 V7 r1 _5 y
9 F$ h. Z9 }9 H# l6 e/ h
Internal and External ! V( T" t" v. \/ n
; ]' {+ H3 Z6 j8 t8 i0 \' _# b1 S& {) c+ x! R
History
/ X# s1 U9 y6 V9 U2 l3 c: E8 e9 r, o" T1 K) T' e1 A
Released in NX4 4 A% g: S$ Y% M5 q& L( I5 E
. C, Z9 q- T; e1 W, {% n% \6 }' Y* Z/ G b$ v' ?0 Q- n; ^" z
Required License(s)
( g; A* ~8 Y2 |" P$ G, J, x* H/ ?, s6 f) A8 O- l% U
gateway$ n: I1 j, N5 O; w8 h& D2 r
3 s' n3 H4 }1 j# P# \ ^; {- J8 }9 I
; o- @1 i# a: Y, H; a- S' Iint UF_PART_update_jt_brep5 [% u( X. k" A% G9 ~% z' t
(
) F; f+ }, \8 }0 Z. Pconst tag_t part_tag
( F) T! M/ K- B* W' i3 M( S* [) J" _6 D; M7 a
)
9 Q* k0 {* d9 j3 l ^+ l ]
4 U( M" o' I$ T| const tag_t | part_tag | Input | The tag of the part you want to update the BREP of
: c4 O; c- ]2 n4 C+ S: L% I
: c+ L7 E; D5 `( k- o5 O: r' q3 ~ | % X/ I0 _8 b$ p: \+ l8 u8 l& F
|
|