Xu27_2001 wrote:
int curr_part=0,count=0,type; double a[1000][3]; tag_t part,point;
part=UF_PART_ask_nth_part(curr_part);
type=UF_poit_type; point=NULL;
//遍历起点NULL
UF_OBJ_cycle_obj_in_part(part,type,[$point)]
//遍历终点NULL
while(point!=NULL)
{ UF_OBJ_cycle_obj_in_part(part,type,[$point)]
UF_CURVE_ask_point_data(point,point_coords);
for(i=0;i<3;i++)
{ a[count]=point_coords;}
}错误象是不能循环。得不到数组任意的值
欢迎光临 iCAx开思工具箱 (https://t.icax.org/) | Powered by Discuz! X3.3 |