标签:ble lan style root pre group div fail amp
1 //获取当前的UF_SETUP对象 2 tag_t setupTag = NULL_TAG; 3 UF_SETUP_ask_setup(&setupTag); 4 5 //获取几何的根组 6 tag_t rootGeomGroup = NULL_TAG; 7 UF_SETUP_ask_geom_root(setupTag, &rootGeomGroup); 8 9 //在几何根组下查找名为MCS_MILL的TAG 10 tag_t geomGroupObj = NULL_TAG; 11 UF_NCGROUP_ask_object_of_name(rootGeomGroup, "MCS_MILL", &geomGroupObj); 12 13 double origin[3] = { 0.0,0.0,100.0 }; 14 double normal[3] = { 0.0,0.0,200.0 }; 15 int err = UF_CAM_set_clear_plane_data(geomGroupObj, origin, normal); 16 if( err <= 0 ) 17 { 18 uc1601("创建成功", 1); 19 } 20 else 21 { 22 char msg[256]; 23 UF_get_fail_message(err, msg); 24 uc1601(msg, 1); 25 }
标签:ble lan style root pre group div fail amp
原文地址:https://www.cnblogs.com/liuxiaoqing1/p/12181253.html