double orientation[9]={0,0,0,0,0,0,0,0,0};
double origin[3]={0,0,0};
double pts[6]={0,0,0,0,0,0};
int error_code=0;
int imode,display,iresponse;
tag_t plane_eid;
imode=1;
display=0;
error_code=UF_UI_specify_plane(
"指定平面",&imode,display,&iresponse,orientation,origin,&plane_eid);
char sCue[]="请选择定位点";
UF_UI_POINT_base_method_t base_method=UF_UI_POINT_INFERRED;
tag_t tPoint=NULL_TAG;
double sBasePoint[3];
int iResponse=UF_UI_OK;
UF_UI_point_construct(sCue,&base_method,&tPoint,sBasePoint,&iResponse);
double vec[3],pnt[3];
int mode=UF_UI_YC_AXIS;
int disp_flag=UF_UI_DISP_TEMP_VECTOR;
int response=0;
UF_UI_specify_vector("choose a Vector",&mode,disp_flag,vec,pnt,&response);