|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
一个比较好用的函数,JT 文件转换成 Part文件
0 A0 m# m4 C; Z# n$ J6 ]
m6 E( I6 e: [0 W' }7 {UF_PART_update_jt_brep (view source)
1 g( E, K0 l! [2 Q
2 S" K" c$ W5 [% L/ uDefined in: uf_part.h* `2 v, {, j# w! ?
0 _4 z: y3 n6 B6 b$ f. g0 p- }
! z. u) { U# }
Overview
0 o) r9 |4 L: O8 Z$ f, T! V+ l" U; I# |
Given a part that originated from JT data, update it with the BREP data. 0 g+ F* t9 z8 ^( s# W) f) ?0 }
6 j3 M" V5 F, o# Q/ i; [/ cNOTE: it's an error if the input part tag does not come from a JT file. 6 @7 B& c+ R: u6 d, Z; b
0 K3 H" G% @$ Z; N& [, Q0 P! X! I2 P4 S
Return# S! T) ]4 H7 e* u A- k' M$ L
" @8 m4 i7 K. u0 [ G$ T1 v
Return code:
" n# H; v6 l2 n, c: I) u7 h- R0 = Success 3 o. T1 F2 \5 L6 q" V" F m/ u$ T
> 0 = Error code, use UF_get_fail_message to ! }- g2 k! F$ {& e4 P1 W- e* S
obtain error message string 6 [, l: |/ z6 K) k* q( @: ]" I0 j
* R5 U/ H. T( z( }+ i/ \1 A* G
! d: E4 o( D S% D
Environment& j. u7 j! j1 V: D0 {1 T' B. f2 {
+ T% L) |: Q: [# {Internal and External
" ^* q [% b: b0 D& b4 S9 i
, a5 a' E; F5 g: _2 Q4 v& }1 _6 Y, m
History8 I! I8 X1 X6 k& q8 Q2 L6 X
5 f4 C; Z" i; a) g9 C' C+ B
Released in NX4
2 v4 w; e+ c' T, {) N$ _
" P" ?7 y/ |8 ?9 U# i4 \1 P3 D3 s
7 S) D6 w- y9 a* x' z5 z2 h0 VRequired License(s)
9 l3 g, `3 ]8 @- Z& Y$ u9 T \/ @# K# F1 k* j6 ^
gateway
% X0 }! z! D# l* N
! j# S! I) A6 p' d3 o
, a& U0 E" c8 X, I1 ~ / b2 Y' u& s: y$ S6 A6 Y& \! i
int UF_PART_update_jt_brep
7 g* F0 S, g( G9 J% z1 }/ ~ L(! J. ]8 ?( S& q6 f
const tag_t part_tag + L r' R2 L6 G- \. e4 w
0 e# v" T" |* ~)
) R) W3 \6 ~3 s! _) ^. k1 M7 W2 F# c: P# q p
| const tag_t | part_tag | Input | The tag of the part you want to update the BREP of
; E6 D3 K' P; p# t% Q# e o1 Z6 P+ z; C0 C7 g
| . O/ g6 n' {# x: Q$ y
|
|