摘要
阐述了AutoCADR14的二次开发工具ObjectARX的组成,ObjectARX应用程序的典型结构和调用方式探讨了开发ObjectARX应用程序的方法,提出了开发功能强大的ObjectARX应用程序的途径是借助于动态链接库(DLL)将微软的基本类库(MFC)集成到应用程序中在分析带式输送机特点的基础上,利用ObjectARX开发出适合铸造车间内使用的带式输送机系统对带式输送机系统实现了对象类的封装,系统将带式输送机的两种基本形式———水平式和倾斜式封装成ObjectARX的运行类,很好地实现了ObjectARX类的扩充,在此基础上利用面向对象技术的继承性和多态性实现了带式输送机各种常用形式的设计系统在面向对象编程语言VC(VisualC++)环境下采用参数化编程,充分利用了VC的AppStudio界面生成机制和ClassWizard的类生成机制实现了系统的高效编程,系统采用菜单和对话框相结合的方式实现了具有Windows95风格的界面设计。
The compostion and structure of ObjectARX and its application are introduced.Discussed here is how to develop the application system of ObjectARX and pointed out that by recuring to DLL, ObjectARX combined with microsoft foundation class(MFC) is the best way to develop powerful application system Based on characteristics of belt conveyor and applying ObjectARX, the belt conveyor system has been developed For belt conveyor system ,the encapsulation of object classes have been completed,in which two basic types-horizontal type and declining type are the ObjectARX runtime class Based on two basic types,utilizing the inheritence and other technology,the shape of belt conveyor in common use can be obtained The system has adopted parametric technology with the Object Oriented language -Visual C++,which has made full use of Appstudio and Class Wizard to facility program The interface of the Windows95 style in this system is the combination of menu and dialog box,which makes the system both amity and practical
出处
《江苏理工大学学报(自然科学版)》
1999年第3期66-70,共5页
Journal of Jiangsu University of Science and Technology(Natural Science)