NX secondary development -UFUN Preferences dialog box UF_UI_select_parameters

 1 #include <uf.h>
 2 #include <uf_ui.h>
 3 #include <uf_modl.h>
 4 
 5 
 6 UF_initialize();
 7 
 8 //参数选择对话框
 9 UF_FEATURE_SIGN sign = UF_NULLSIGN;
10 double dBlockOrig[3] = { 0.0, 0.0, 0.0 };
11 char* sBlockLengh[3] = { "1", "2", "3" };
12 tag_t tBlockObj;
13 is  char sMessage [] = " Preferences dialog " ;
 14  int iCount;
 15 tag_t * atExp;
 16  int IResponse;
 . 17 UF_MODL_create_block1 (Sign, dBlockOrig, sBlockLengh, & tBlockObj);
 18 is UF_UI_select_parameters (sMessage, tBlockObj, & iCount, & atExp, & IResponse);
 19  UF_free (atExp);
 20  
21  UF_terminate ();
 22  
23  Caesar Lu Shangyu
 24- July 1, 2019

Guess you like

Origin www.cnblogs.com/nxopen2018/p/11116303.html