//获取当前加工导航器选中的对象数量和TAG
int count = 0;
tag_t* objects = NULL;
UF_UI_ONT_ask_selected_nodes(&count, &objects);
UF_UI_open_listing_window();
for (int i = 0; i < count; i++)
{
//打印
char name[257];
UF_OBJ_ask_name(objects[i], name);
UF_UI_write_listing_window(name);
UF_UI_write_listing_window("\n"); }
//释放
UF_free(objects);
NX 二次开发-获取当前加工导航器选中的对象数量和Tag-UF_UI_ONT_ask_selected_nodes
最新推荐文章于 2024-09-02 23:09:18 发布