摘要
为适应数字化技术的发展要求,自动、规范、方便地生成机械产品的设计计算说明书,结合Word文档的模板技术,通过Visual Studio开发平台添加Microsoft.Office.Interop.Word引用对Word进行二次开发。采用VB.NET语言编写剪式升降平台设计计算说明书的自动生成代码,根据设计者选定的参数,系统将根据力学计算代码自动生成说明书的计算过程、计算结果、型材选择以及说明书生成时间等信息。实践表明,该方法适用范围广、机制简单、灵活方便,大大提高了设计人员的工作效率,并降低了劳动强度。同时,对其它机械产品计算说明书或实验报告的自动生成具有一定参考价值。
In order to adapt to the development of digital technology,we manage to generate automatic,standardized,convenient mechanical product design specifications,combined with Word document template technology by adding Microsoft.Office.Interop.Word to Visual Studio development platform for secondary Word develoment.Based on the language compiling scissor platform,we design auto-generated code of calculation instruction.Premised on the chosen parameters and dunamics,the system processes information including calculation process and its results,material selection and generation time of the automatic code generation instruction.By practice it is proved that the method has a wide range of application,simple mechanism and high flexibility and convenience,and it greatly improves efficiency of designers and relieves their labor intensity.Meanwhile it provides certain reference value for automatic generation of mechanical product specifications and test reports.
作者
李日东
仲梁维
LI Ri-dong;ZHONG Liang-wei(College of Mechanical Engineering,University of Shanghai for Science and Technology,Shanghai 200093,China)
出处
《软件导刊》
2018年第5期76-79,共4页
Software Guide