摘要
DWG格式文件在工程设计中广泛应用。为了便于在脱离AutoCAD环境下直接访问DWG文件,并在网上浏览、打印,需要专用的软件系统。本文阐述了该软件的开发要点:用C++.NET编写具有托管扩展支持的Dll,对生成DWG格式的函数进行包装;用C#编写的Web应用程序中调用此Dll,生成DWG格式的文件;并通过ActiveX控件在Web上对DWG文件进行在线浏览,也可以供本地客户下载进行浏览修改。文章中以刀具文件为例,说明该软件的应用。
Documents with DWG format are generally used in engineering applications. Calling the DWG documents directly and browsing it on web, a software system independent of the AutoCAD environment is imperative. This paper describes the essentials of its development as follows: employing C++.NET language, functions in DWG format are wrapped by Dll files, capable of trustee and expansion; application programs of web, programmed in C#, call the Dll files to create DWG documents; these files are browsed and downloaded on web via ActiveX control. As an example, creating the technology documents for cutting tool is detailed.
出处
《大连轻工业学院学报》
2004年第4期278-281,共4页
Journal of Dalian Institute of Light Industry