获取加工视图下所有元素
UF_SETUP_ask_program_root //程序顺序 视图 UF_SETUP_ask_mct_root //机床视图 UF_SETUP_ask_mthd_root //加工方法视图 UF_SETUP_ask_geom_root //几何视图
UF_initialize();//初始化
UF_UI_ONT_refresh();//刷新加工导航器
UF_UI_open_listing_window();
tag_t setup_tag = NULL_TAG;
UF_SETUP_ask_setup(&setup_tag);
tag_t program_root_tag = NULL_TAG;
UF_SETUP_ask_mct_root(setup_tag, &program_root_tag);//获取机床视图的根节点
int count = 0;
tag_t* list = NULL;
UF_NCGROUP_ask_member_list(program_root_tag, &count, &list);//返回程序组根节点包含的对象列表
UF_UI_write_listing_window("程序组视图有以下对象");
UF_UI_write_listing_window("\n");
int count1 = 0;
tag_t* list1 = NULL;
int count2 =