1 #include <uf.h> 2 #include <uf_ui.h> 3 4 5 UF_initialize(); 6 7 //拾取平面对话框 8 double orientation[9] = { 0, 0, 0, 0, 0, 0, 0, 0, 0 }; 9 double origin[3] = { 0, 0, 0 }; 10 double pts[6] = { 0, 0, 0, 0, 0, 0 }; 11 int mode = 1, display = 0, response; 12 tag_t plane_eid = NULL_TAG; 13 UF_UI_specify_plane("指定平面", &mode, display, &response, orientation, origin, &plane_eid); 14 15 UF_terminate(); 16 17 Caesar卢尚宇 18 2019年7月1日