码迷,mamicode.com
首页 > 其他好文 > 详细

PMI列子1

时间:2016-07-12 10:25:00      阅读:137      评论:0      收藏:0      [点我收藏+]

标签:

遍历得到PMI中,是注释类型的,你可以参考一下。
int num_text, thetype, thesubtype;
tag_t  draft_aid_tag = NULL_TAG;
UF_UI_open_listing_window();
UF_DRF_draft_aid_text_info_t * text_info;
UF_OBJ_cycle_objs_in_part( UF_ASSEM_ask_work_part(), UF_drafting_entity_type, &draft_aid_tag );
while ( draft_aid_tag != NULL_TAG )
{
        UF_OBJ_ask_type_and_subtype( draft_aid_tag, &thetype, &thesubtype );
        if ( thesubtype == UF_draft_label_subtype  )
        {
                UF_DRF_ask_draft_aid_text_info ( draft_aid_tag, &num_text, &text_info );
                UF_UI_write_listing_window( text_info->text->string );
                UF_UI_write_listing_window( "\n" );               
        }
        UF_OBJ_cycle_objs_in_part( UF_ASSEM_ask_work_part(), UF_drafting_entity_type, &draft_aid_tag );
        UF_DRF_free_text( num_text, &text_info );
}

PMI列子1

标签:

原文地址:http://www.cnblogs.com/whiteIcrow/p/5662477.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!