我写了一个GRIP程序调用API程序,想让GRIP选择的面传递到API里面设置透明度,但是我不知道怎么传递,求高手帮忙!! 这是GRIP程序: ENTITY/object L10: IDENT/'SELECT OBJ',object,RSP JUMP/L10:,END:,,,RSP L20: GRARGS/object XSPAWN/UFUN,'D:\TTMM.DLL',IFERR,L11: $ JUMP/END: L11: MESSG/'1111' END: HALT 这是API程序: char cue[] = "选择移动对象"; char title[] = "选择对象"; int response=0,count=0; tag_t object; double cursor[3]; tag_t view; UF_UI_select_with_single_dialog(cue, title,0, NULL, NULL, &response, &object, cursor,&view); if ( response == UF_UI_BACK) return; if (response==UF_UI_CANCEL) return; UF_DISP_set_highlight(object,0); UF_OBJ_set_translucency(object,100); 怎么不在API程序里面选择面,而是读取GRIP选择的面!!!??? |
欢迎光临 iCAx开思工具箱 (https://t.icax.org/) | Powered by Discuz! X3.3 |