|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
- H6 [9 ^# ^7 M8 [. P7 g
/* 得到当前的work part prototype tag */
7 p3 w" `7 u0 W" S% @ e/ r' M extern tag_t UF_ASSEM_ask_work_part ( );
% u; r i/ t4 H0 Q& _1 Z8 ?8 N/* 设置当前的work part prototype tag */
6 c6 c B% O5 J+ H7 w/ L3 \1 e extern int UF_ASSEM_set_work_part ( tag_t part ); 9 |- q8 G+ q' U$ ~* n/ E6 S; Q
/* 得到当前的work part occurrence tag */. ]" C4 |( p! r
extern tag_t UF_ASSEM_ask_work_occurrence ( );
9 b( c2 e( h; t! ^* B' P; z9 G/* 设置当前的work part occurrence tag */+ Z4 S9 e% k! D9 m# T
extern int UF_ASSEM_set_work_occurrence ( tag_t part_occur );
8 ]; r+ ^& j* \/ \2 L/* 得到根part的occurrence tag, 输入的part必须是根part prototype tag */; j: T1 z9 Q+ K% R
extern tag_t UF_ASSEM_ask_root_part_occ ( tag_t part );
& _ @, `) B, {4 R/* 得到某个instance的父part prototype tag */' a1 H4 R- C) J# O3 F5 ?" q- q" l
extern tag_t UF_ASSEM_ask_parent_of_instance ( tag_t instance );
# }. K5 N8 _+ |0 @+ n( q) W; O! q' r9 ^( V% @9 R9 \, _" j
/* 得到某个instance的part prototype tag */# z) P/ k5 u7 Z
extern tag_t UF_ASSEM_ask_child_of_instance ( tag_t instance ); 0 A/ x. j3 z6 E; O' i
/* 得到父part下某个instance name的instance tag */
5 v t' ~ i3 x! @( Iextern tag_t UF_ASSEM_ask_instance_of_name ( tag_t parent_part, const char * instance_name ); 6 y5 W9 Y; W3 v# o( b0 c, @& P
/* 得到父part下某个instance的part occurrence tag */; ^$ w; t2 x# X, b$ t; d
extern tag_t UF_ASSEM_ask_part_occ_of_inst ( tag_t parent_part_occ, tag_t instance );
/ u/ U" e) f) E0 j' \6 l, |/* 得到某个instance的所有part occurrence tag */
- ]! X( }0 B; H$ K* ?9 d5 Zextern int UF_ASSEM_ask_part_occs_of_inst ( tag_t instance, tag_t ** part_occs ); ) B% h# K4 T" A# O0 ^
/* 得到某个part occurrence的instance tag */
" m# y7 v o. C1 I F. U- `extern tag_t UF_ASSEM_ask_inst_of_part_occ ( tag_t part_occur ); + z; _# Z3 L+ V4 I- w* e
/* 得到父part下某个part prototype的所有part occurrence tag */8 l) G/ `8 B+ Z
extern int UF_ASSEM_ask_occs_of_part ( tag_t parent_part, tag_t part, tag_t ** part_occs );
. w/ @) X9 v( D" b4 `/* 得到某个object prototype的所有object occurrence tag */
' ?8 Y2 F4 n# P. @2 }4 Qextern int UF_ASSEM_ask_occs_of_entity ( tag_t object, tag_t ** occurrences );
8 A% g5 w: v2 {, X/* 得到某个object或part occurrence的object或part prototype tag */
" g3 q( z9 p) |) cextern tag_t UF_ASSEM_ask_prototype_of_occ ( tag_t occurrence );
) {0 L! ~7 n; c' u/* 得到某个object或part occurrence的父part occurrence tag */# ]6 h' ]- z# b9 g! ?' C7 d8 }
extern tag_t UF_ASSEM_ask_part_occurrence ( tag_t occurrence );
" ~! W% p2 Z4 k0 f/* 得到某个part occurrence下所有子part occurrence tag */
N+ R( O* s" [1 Dextern int UF_ASSEM_ask_all_part_occ_children ( tag_t part_occur, tag_t ** child_part_occs );
; }5 {; D: j( Z: d6 S" Y/* 同上 */
) M/ B2 F# z% Q6 v- Y1 aextern int UF_ASSEM_ask_part_occ_children ( tag_t part_occur, tag_t ** child_part_occs ); $ F2 t, y6 F/ D Q( b( P/ R
/* 得到某个part occurrence中所有object occurrence tag的个数 */% x$ A9 Q- y! ~* D. n. q L/ |
extern int UF_ASSEM_count_ents_in_part_occ ( tag_t part_occur );
/ _! D/ ~: G7 V/* 得到某个part occurrence中某个object prototype的object occurrence tag */0 Q' Z6 s# c5 H! `
extern tag_t UF_ASSEM_find_occurrence ( tag_t part_occur, tag_t object_prototype );
4 g' B$ [/ w: X0 `/* 得到某个part occurrence在当前work part中的part occurrence tag */
0 w5 V# g3 R" S( c6 S9 V5 d- s$ g mextern int UF_ASSEM_get_occ_in_work_occ ( tag_t part_occ, tag_t * occ_in_work ); 9 K7 V7 m* I7 P4 a6 q
/* 判断某个part或object tag是否是occurrence tag */, r+ B6 @* M9 w$ K3 j* z P0 t
extern logical UF_ASSEM_is_occurrence ( tag_t entity ); 2 U2 s& t' c. M6 Q$ _6 L9 {
/* 判断某个part是否是occurrence tag */
# e9 Y8 I) j$ t: \# M# m4 bextern logical UF_ASSEM_is_part_occurrence ( tag_t occurrence ); 1 Q$ X: `% y: t5 k* `! b% Y* o7 ]
/* 判断某个part occurrence是否属于当前的work part */
4 |4 K9 j5 y% W4 A& V/ F. G4 Wextern int UF_ASSEM_occ_is_in_work_part ( tag_t part_occ, logical * is_in_work );
Z6 [1 Z) E+ N3 H0 ~" E: U/* 循环查找某个part occurrence中的所有object occurrence tag */! |. x3 P& b: \
extern tag_t UF_ASSEM_cycle_ents_in_part_occ ( tag_t part_occur, tag_t object_occur );
2 ]4 q" K0 F& ]; S5 i/* 循环查找某个part prototype下的所有instance tag */ W0 p7 Y: @- N5 U
extern tag_t UF_ASSEM_cycle_inst_of_part ( tag_t parent_part, tag_t instance ); ' a. z- v" r: G: [2 L
% |! e: c4 e, c
6 _ D0 S: ]1 P, H$ ^$ p( R2 k0 }9 a9 K7 p8 u7 V
8 F0 ]) N& t" f8 _# _: ^
|
|