NX9+VS2012 #include <uf.h> #include <uf_ui.h> #include <uf_setup.h> #include <uf_ncgroup.h> UF_initialize(); tag_t setup_tag=NULL_TAG; UF_SETUP_ask_setup(&setup_tag); tag_t programRootgroup=NULL_TAG; UF_SETUP_ask_program_root(setup_tag, &programRootgroup); tag_t program1=NULL_TAG; UF_NCGROUP_ask_object_of_name(programRootgroup, "FLOOR_WALL", &program1); char msg[256]; sprintf(msg, "%d", program1); UF_UI_open_listing_window(); UF_UI_write_listing_window(msg); UF_terminate(); Caesar卢尚宇 2020年5月30日