iCAx开思工具箱
标题:
我用这段代码生成图纸文件为何出错呢?
[打印本页]
作者:
pangpang8
时间:
2007-12-29 13:30
标题:
我用这段代码生成图纸文件为何出错呢?
编译能通过,但是运行后就出错
char *drawingname="Process";
double size[2]={400,400};
UF_DRAW_info_t drawing_info;
drawing_info.size_state=UF_DRAW_CUSTOM_SIZE;
drawing_info.size.custom_size[0]=size[0];
drawing_info.size.custom_size[1]=size[1];
drawing_info.drawing_scale=1.0;
drawing_info.units=UF_PART_METRIC;
drawing_info.projection_angle=UF_DRAW_THIRD_ANGLE_PROJECTION;
tag_t *sheet_tag;
UF_DRAW_create_drawing(drawingname,&drawing_info,sheet_tag);
作者:
sualpha
时间:
2007-12-29 20:06
tag_t sheet_tag;
UF_DRAW_create_drawing(drawingname,&drawing_info,&sheet_tag);
作者:
sualpha
时间:
2007-12-29 20:07
注意指针的使用!
作者:
pangpang8
时间:
2007-12-30 12:37
果然如此。谢谢了
欢迎光临 iCAx开思工具箱 (https://t.icax.org/)
Powered by Discuz! X3.3