三级士官
UID2141241
U币21
G币562
技术0
主题14
精华0
阅读权限50
注册时间2014-1-3
最后登录2018-11-29
在线时间36 小时
自我介绍UG二次开发博客:www.ugufun.com
三级士官
|
- /* 得到当前的work part prototype tag */extern tag_t UF_ASSEM_ask_work_part ( );/* 设置当前的work part prototype tag */extern int UF_ASSEM_set_work_part ( tag_t part );/* 得到当前的work part occurrence tag */extern tag_t UF_ASSEM_ask_work_occurrence ( );/* 设置当前的work part occurrence tag */extern int UF_ASSEM_set_work_occurrence ( tag_t part_occur );/* 得到根part的occurrence tag, 输入的part必须是根part prototype tag */extern tag_t UF_ASSEM_ask_root_part_occ ( tag_t part );/* 得到某个instance的父part prototype tag */extern tag_t UF_ASSEM_ask_parent_of_instance ( tag_t instance);/* 得到某个instance的part prototype tag */extern tag_t UF_ASSEM_ask_child_of_instance ( tag_t instance );/* 得到父part下某个instance name的instance tag */extern tag_t UF_ASSEM_ask_instance_of_name ( tag_t parent_part, const char * instance_name );/* 得到父part下某个instance的part occurrence tag */extern tag_t UF_ASSEM_ask_part_occ_of_inst ( tag_t parent_part_occ, tag_t instance );/* 得到某个instance的所有part occurrence tag */extern int UF_ASSEM_ask_part_occs_of_inst ( tag_t instance, tag_t ** part_occs );/* 得到某个part occurrence的instance tag */extern tag_t UF_ASSEM_ask_inst_of_part_occ ( tag_t part_occur ); /* 得到父part下某个part prototype的所有part occurrence tag */extern int UF_ASSEM_ask_occs_of_part ( tag_t parent_part, tag_t part, tag_t ** part_occs );/* 得到某个object prototype的所有object occurrence tag */extern int UF_ASSEM_ask_occs_of_entity ( tag_t object, tag_t ** occurrences );/* 得到某个object或part occurrence的object或part prototype tag */extern tag_t UF_ASSEM_ask_prototype_of_occ ( tag_t occurrence );/* 得到某个object或part occurrence的父part occurrence tag */extern tag_t UF_ASSEM_ask_part_occurrence ( tag_t occurrence );/* 得到某个part occurrence下所有子part occurrence tag */extern int UF_ASSEM_ask_all_part_occ_children ( tag_t part_occur, tag_t ** child_part_occs );/* 同上 */extern int UF_ASSEM_ask_part_occ_children ( tag_t part_occur, tag_t ** child_part_occs );/* 得到某个part occurrence中所有object occurrence tag的个数 */extern int UF_ASSEM_count_ents_in_part_occ ( tag_t part_occur );/* 得到某个part occurrence中某个object prototype的object occurrence tag */extern tag_t UF_ASSEM_find_occurrence ( tag_t part_occur, tag_t object_prototype );/* 得到某个part occurrence在当前work part中的part occurrence tag */extern int UF_ASSEM_get_occ_in_work_occ ( tag_t part_occ, tag_t * occ_in_work );/* 判断某个part或object tag是否是occurrence tag */extern logical UF_ASSEM_is_occurrence ( tag_t entity );/* 判断某个part是否是occurrence tag */extern logical UF_ASSEM_is_part_occurrence ( tag_t occurrence );/* 判断某个part occurrence是否属于当前的work part */extern int UF_ASSEM_occ_is_in_work_part ( tag_t part_occ, logical * is_in_work );/* 循环查找某个part occurrence中的所有object occurrence tag */extern tag_t UF_ASSEM_cycle_ents_in_part_occ ( tag_t part_occur, tag_t object_occur );/* 循环查找某个part prototype下的所有instance tag */extern tag_t UF_ASSEM_cycle_inst_of_part ( tag_t parent_part, tag_t instance );
复制代码
|
|