运用Visual C++ 2005和ObjectARX 2008开发工具,探讨图形实体的创建与实体属性的设置方法.利用结果缓冲区、DXF接口方法和ObjectARX类函数,实现图形数据自动提取和图形交互功能.以此为基础开发的线路设计系统,在一些设计单位完成了多项线路工程设计,取得良好的经济效益.
By using Visual C++ 2005 language environment and the development kit of ObjectARX 2008,methods which can create the graphical entities and set their attributes were discussed in this paper.using the result buffer,DXF interface methods and ObjectARX class functions,automatic extraction of graphic data and graphic interactive features were realized.The system of railway line design were been developed on the basis of the above methods.It could achieves better economic returns according to many design engineering techniques applied by some design institutes.