节点文献
AutoCAD二次开发中自动判别功能实现
The achievement of automatic discriminant in 2nd development of AutoCAD
【摘要】 利用Visual Basic作为开发工具,开发出对CAD平面图形具有自动判别和自动评分功能的软件,该软件通过分析DXF文件,读取DXF文件中的图元数据,包括坐标、线型、宽度及颜色要素。并通过分析初学者常在绘图过程中出现的错误类型,对所判别图线进行连接、分解等前处理,然后与正确的图形元素的图元数据进行一一对比,并建立评分模型直接评价图形得分,从而实现自动判别功能和自动评分功能。软件经过实验运行,查错速度快而准确达到设计要求。
【Abstract】 By The use of Visual Basic as a development tool,developed on the CAD graphic with automatic identification and automatic grading function software,through the analysis of DXF file,read the primitive data in the DXF file.including the coordinates、linear、width and color elements.Through the analysis error types of beginners appeared in the process of drawing,one by one contrast with the correct graphic elements of the primitive data after the process o fconnection,decomposition.and achieved automatic discriminant function and automatic grading function.The software is proved that meet the design requirements accuratly.
【Key words】 2nd Development of AutoCAD; DXF file; judges automatically;
- 【文献出处】 机械 ,Machinery , 编辑部邮箱 ,2012年04期
- 【分类号】TP391.72
- 【下载频次】77