基于SolidWorks二次开发的工程图尺寸冗余检查技术研究

Research on dimensional redundancy inspection technology of engineering drawings based on the secondary development of SolidWorks

  • 摘要: 针对SolidWorks工程图中尺寸标注易出错、人工检查难度大等问题,提出了一种对SolidWorks工程图尺寸冗余检查技术。基于VB.NET编程语言对SolidWorks进行二次开发,通过调用SolidWorks中的API函数获取工程图中的视图信息以及尺寸信息,用SQL Server数据库对数据进行储存和读取。运用比较法,实现了工程图中尺寸重复以及尺寸链封闭的检查,并将错误尺寸高亮显示在工程图中。最后以冷藏车的典型零件为对象,验证了该方法的可行性。该技术极大地降低了检查时间和错误率,提高了工作人员的效率。

     

    Abstract: Aiming at the problems of error-prone size labeling and high difficulty in manual inspection of SolidWorks engineering drawings, a technology for SolidWorks engineering drawing size redundancy inspection is proposed. As the development tool, VB.NET is used to carry out the secondary development of SolidWorks. The view information and dimension information in the drawing are obtained by calling the API function in SolidWorks, the data is stored and read with SQL Server database. The comparison method is used to check the size duplication and size chain closure in engineering drawings, and the error size is highlighted in the drawing. The feasibility of this method is verified through taking the typical parts of the refrigerated truck as the object. The technique greatly reduces the checking time and design error rate, and improves the design efficiency of the staff.

     

/

返回文章
返回