阳光MAN
发表于 2014-4-12 14:26:06
看看谢谢楼主
wangfanglun
发表于 2014-4-20 20:27:08
我想看看视频
☠寶∞爺☠
发表于 2014-4-21 11:09:34
我来学习了!!
东沟恋君
发表于 2014-4-23 18:19:40
好教程,继续顶
啊山仔
发表于 2014-4-23 20:24:44
static void do_api() { tag_t object,view; char cue[] = "select object to get the dimensions"; int scope = UF_UI_SEL_SCOPE_WORK_PART; double x,y,z; intresponse; double boundingbox; double cursor; UF_UI_select_with_single_dialog(cue,"select the object",scope, UF_UI_sel_init, NULL, &response, &object, cursor, &view ); if (response == UF_UI_OBJECT_SELECTED || response == UF_UI_OBJECT_SELECTED_BY_NAME) { UF_DISP_set_highlight(object,0); UF_MODL_ask_bounding_box(object,boundingbox); x = boundingbox-boundingbox; y = boundingbox-boundingbox; z = boundingbox-boundingbox; char message; sprintf(message," X dimension = %.3f\n Y dimension = %.3f\n Z dimension = %.3f\n",x,y,z); uc1601(message,1); } else uc1601("No object selected",1); } }
啊山仔
发表于 2014-4-23 20:25:35
看看。。。。。。。。
C_X_J
发表于 2014-4-25 08:28:24
学习学习。。。。
笑对人生
发表于 2014-4-26 21:55:57
感谢楼主分享,谢谢了
eda.ke
发表于 2014-4-29 10:22:19
學習中,感謝分享~~~
★害虫★
发表于 2014-4-30 21:50:26
正在学习中,谢谢。
页:
1
[2]
3
4
5
6
7
8
9
10
11