|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
一个比较好用的函数,JT 文件转换成 Part文件 * s, O+ z2 c: | Y6 x
8 u9 V3 ^9 N. c2 f/ ?* oUF_PART_update_jt_brep (view source)1 g0 s7 F: I. I& [9 U# s6 r
% E! o: {; l5 U. n7 gDefined in: uf_part.h# ]4 s$ V5 {! d5 w; d4 J
; U( J2 `- Z6 Y6 n# u
9 |1 f8 }+ Q: m' m, @. fOverview! ~) F9 W1 A2 y5 G/ B( l) d
) j2 O: v) D8 X0 u: o( VGiven a part that originated from JT data, update it with the BREP data. - F. H: \$ M {' C
" a$ Y* C1 v0 x& RNOTE: it's an error if the input part tag does not come from a JT file. : Z; j5 o0 ^7 Q; @" [
( k+ }# M# M) B( a/ _7 Z% t
6 F: R# l3 [4 b
Return
. S; G8 a' B& f, Z0 x7 H" P$ B3 b% h E" G: A6 C$ [. v+ l9 u, {- a
Return code: ' C; i- a2 E$ {* c9 B! U
0 = Success
8 f3 ]" Q! N3 C, T0 h$ ^0 n> 0 = Error code, use UF_get_fail_message to
! i% L. A7 W% Eobtain error message string
7 N+ h4 M) A; _/ m7 s( ?: [1 [
) R0 s) O7 B+ E) ]4 @9 e1 j0 u! g# p! t- Q
Environment
* W$ V7 \9 p$ X( q) [9 N w/ A( Z, J8 c8 w5 a+ w
Internal and External ( }" z. F) d2 c, u
0 J0 |9 k/ E8 S% E; x9 C" Y+ t/ C5 F) Y7 z9 ?1 G c3 X/ A
History
6 t% D5 u$ D! z* e9 o
: F4 A/ u2 d8 I! ]/ F9 IReleased in NX4
5 g2 o7 Z& }9 T7 {, O0 Z- _ - t4 t6 P2 Q x$ r& H2 r( \
, g; L" ~% Q7 ^' g) h6 {$ V1 E jRequired License(s)7 Q! p: U# l3 Z
# Y2 l0 u4 c" |7 zgateway
2 b' h8 N8 k# p; q
, o! _! Q/ ?6 [+ a, J- a* M% ]3 k/ ^, V: U* D
7 U$ A7 ?2 C/ n1 X& [
int UF_PART_update_jt_brep$ p9 C; z7 T6 z# d+ p/ T
(7 K) }/ j V& x7 [9 k& j# i
const tag_t part_tag
, i; ~( H1 C# V. ~/ W8 l5 A8 c# l8 l- b7 [; D; Z3 B ?' X
), b" [6 E* ?* p$ E4 _4 T
* y/ s4 P U! E d7 Z' \- p2 T
| const tag_t | part_tag | Input | The tag of the part you want to update the BREP of) M. N$ U2 S+ ]
6 T* v/ B6 b" Y9 C, P( Y, u( f
| 0 m$ g' W* O& a# @$ T
|
|