期刊文献+

基于VBA及ADO技术的轴、孔公差自动标注

Creating automatically of tolerance entity of axis or hole based on VBA and ADO
下载PDF
导出
摘要 为了提高设计绘图效率,通过ADO及VBA开发环境接收用户输入,根据输入进行判断和计算后,连接数据文件并查出偏差值以进行标注,最后关闭记录、连接,释放内存,激活视图,恢复系统变量。最终在AutoCAD中利用VBA程序设计语言及微软的ADO技术,实现了根据用户需求对轴、孔公差的自动标注。测试结果表明,该技术可使得AutoCAD中的公差标注更加快速准确。 In order to improve the efficiency of designing and drawing, through the developing environment of ADO and VBA, input was accepted from the user. Depending on the judgment and calculation according to the input, the data file was connected and de- viation values were found out. Dimensions and tolerances were marked. Then records were closed up, the data file was disconnect- ed, the memory was freed. The view was activated,and system variables were recovered. At last utilizing embedded VBA program- ming language in AutoCAD and the technique of Mierosoft's ActiveX Data Objects, the method was developed for creating tolerance entity of axis or hole. It was realized that dimensions and tolerances were automatically made according to user's requirement. The test results indicate that the technique can mark dimensions and tolerances more quickly and more accurately in AutoCAD.
作者 刘荣辉
出处 《机电工程》 CAS 2009年第7期68-70,87,共4页 Journal of Mechanical & Electrical Engineering
关键词 AUTOCAD VBA ADO 孔公差 自动标注 AutoCAD Visual Basic for Applications (VBA) Activex Data Object(ADO) tolerance entity of axis or hole cre- ating automatically
  • 相关文献

参考文献6

二级参考文献3

共引文献6

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部