|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
: P% E9 h7 k/ C/* 得到当前的work part prototype tag */
$ i* l8 R: o8 i; S% { extern tag_t UF_ASSEM_ask_work_part ( ); ; W* [, j) Y' N% p
/* 设置当前的work part prototype tag */$ w5 M: E( j2 t3 K
extern int UF_ASSEM_set_work_part ( tag_t part );
" r/ I d- k, h7 @. m) F f$ r) U/* 得到当前的work part occurrence tag */
9 I( z; e5 l& K5 _$ F i extern tag_t UF_ASSEM_ask_work_occurrence ( ); 3 n1 T( t: h+ B B! B v( o8 Z
/* 设置当前的work part occurrence tag */8 ^6 y; @# l7 s% c
extern int UF_ASSEM_set_work_occurrence ( tag_t part_occur );
: c2 J6 K# b4 N) b, p/* 得到根part的occurrence tag, 输入的part必须是根part prototype tag */
0 T$ Q6 b! g9 Z7 P U, w extern tag_t UF_ASSEM_ask_root_part_occ ( tag_t part );
0 N, |7 h1 O, |5 y: o+ Q2 O5 u2 g/* 得到某个instance的父part prototype tag */1 X3 z5 ~. e8 u
extern tag_t UF_ASSEM_ask_parent_of_instance ( tag_t instance );
7 t% c; U" e/ c3 p; A9 z2 J# v0 G/ G1 o( W$ S5 R5 v
/* 得到某个instance的part prototype tag */3 q4 c& W* ?4 m3 }5 I+ f) \
extern tag_t UF_ASSEM_ask_child_of_instance ( tag_t instance );
3 M4 i3 E: D# _ `6 X, O" J; {: i/* 得到父part下某个instance name的instance tag */
9 }5 F0 o) @ p- j) v5 N Eextern tag_t UF_ASSEM_ask_instance_of_name ( tag_t parent_part, const char * instance_name );
# b5 L5 M7 Z. _% G% {8 o/* 得到父part下某个instance的part occurrence tag */5 {4 @/ B/ ]; \' \0 x
extern tag_t UF_ASSEM_ask_part_occ_of_inst ( tag_t parent_part_occ, tag_t instance ); G5 H( U. T7 K2 b% P
/* 得到某个instance的所有part occurrence tag */& i' m, B; c- @* N. x
extern int UF_ASSEM_ask_part_occs_of_inst ( tag_t instance, tag_t ** part_occs ); 9 c6 w! n o1 r$ @" Y/ d
/* 得到某个part occurrence的instance tag */
5 r. E# L" ]: m/ Gextern tag_t UF_ASSEM_ask_inst_of_part_occ ( tag_t part_occur ); 9 t, ~6 L: E8 U B0 u5 T" t
/* 得到父part下某个part prototype的所有part occurrence tag */2 k- t5 I ~1 ?/ f! ]
extern int UF_ASSEM_ask_occs_of_part ( tag_t parent_part, tag_t part, tag_t ** part_occs );
. \* k- G0 E5 p& `/* 得到某个object prototype的所有object occurrence tag */3 W6 Q; W$ X) y5 b% E
extern int UF_ASSEM_ask_occs_of_entity ( tag_t object, tag_t ** occurrences ); 4 F! C8 p5 H) V( K2 p& N
/* 得到某个object或part occurrence的object或part prototype tag */
* j6 w' k$ L' F& jextern tag_t UF_ASSEM_ask_prototype_of_occ ( tag_t occurrence ); ' Z4 f2 C8 c6 u! J8 {1 `
/* 得到某个object或part occurrence的父part occurrence tag */6 K* W) R; T3 G) z
extern tag_t UF_ASSEM_ask_part_occurrence ( tag_t occurrence ); 2 C8 Y! Q' R! K q
/* 得到某个part occurrence下所有子part occurrence tag */
2 ] g8 J d, U4 o$ a$ @! G% kextern int UF_ASSEM_ask_all_part_occ_children ( tag_t part_occur, tag_t ** child_part_occs );& Q3 V, w4 T/ A0 |% j+ k8 o
/* 同上 */+ v1 q$ x3 Z/ U2 Y. Q; V2 R
extern int UF_ASSEM_ask_part_occ_children ( tag_t part_occur, tag_t ** child_part_occs );
5 i) H1 }1 {" N7 l) M0 l t8 @( n/* 得到某个part occurrence中所有object occurrence tag的个数 */
* r5 W: }0 |1 ]& p0 T: Wextern int UF_ASSEM_count_ents_in_part_occ ( tag_t part_occur );* C4 g9 A+ M9 f; k* |
/* 得到某个part occurrence中某个object prototype的object occurrence tag */
/ q: W! t6 @3 {" `: }6 Mextern tag_t UF_ASSEM_find_occurrence ( tag_t part_occur, tag_t object_prototype );
0 N. Q U: t4 L/* 得到某个part occurrence在当前work part中的part occurrence tag */: y! x* f1 E: o# t7 h5 [
extern int UF_ASSEM_get_occ_in_work_occ ( tag_t part_occ, tag_t * occ_in_work ); : M% Q9 O, O* j* a2 _
/* 判断某个part或object tag是否是occurrence tag */ f: s* G0 A9 P P/ I
extern logical UF_ASSEM_is_occurrence ( tag_t entity );
2 y, R; v1 `$ [8 A0 R/* 判断某个part是否是occurrence tag *// B" e! i! x2 a1 o& K
extern logical UF_ASSEM_is_part_occurrence ( tag_t occurrence ); $ M% S% }+ M x- ~* Y& M
/* 判断某个part occurrence是否属于当前的work part */
5 }7 r7 o/ W- W! f* Eextern int UF_ASSEM_occ_is_in_work_part ( tag_t part_occ, logical * is_in_work );
8 L7 e; n/ E$ y0 P% G1 t/* 循环查找某个part occurrence中的所有object occurrence tag */
4 y9 I5 c0 {1 A. ^9 x) Zextern tag_t UF_ASSEM_cycle_ents_in_part_occ ( tag_t part_occur, tag_t object_occur );
4 F5 x* D$ C9 {* k. r& j/* 循环查找某个part prototype下的所有instance tag */: `' x- r) y5 F# l# z
extern tag_t UF_ASSEM_cycle_inst_of_part ( tag_t parent_part, tag_t instance );
`1 s2 O T! H9 u8 Q5 Q
7 z7 g4 g! G! F7 y, [3 z! O" n' B" P/ d4 d' X* s M7 K" W4 I
2 Z. O1 v! G3 F" v9 u
/ t2 j- f4 _$ S) R: T! L7 g, a
|
|