api arx autocad_应用ARX实现基于AutoCAD平台的参数化绘图
文章編號 :1009 - 671X(2004)04 - 0027 - 03 應用 ARX實現基于 AutoCAD 平臺的參數化繪圖 翟 震 ,張曉黎 ,關紹康 (鄭州大學 材料工程學院 ,河南 鄭州 450002) 摘 要 :介紹了如何應用 ARX編程實現基于 AutoCAD 平臺的參數化繪圖. 參數化繪圖與 ARX存在密切的關系 ,在開發 CAD 系統中應用 ARX,可以引入面向對象的編程機制 ,ARX提供了豐富的針對開發需要而設計的 MFC基本類庫 ,同時也提供了相應的 API函數. 文章列舉了如何在 AutoCAD 環境下定制應用程序的圖形對象、并添加到 AutoCAD 圖形數據庫中的方法. 關 鍵 詞 :ARX;參數化繪圖 ; 類庫 ;實體中圖分類號 :TB115 文獻標識碼 :A 收稿日期:2003 - 06 - 16. 基金項目:教育部橡塑模具工程教室研制項目(DYA010405) . 作者簡介:翟 震(1968 - ) ,男 ,工學碩士 ,講師 ,主要研究方向:CAD 技術. Using ARX to realize the parameterizing drawing based on AutoCAD ZHAI Zhen , ZHANG Xiao2li ,GUAN Shao2kang(Department of Material Science & Engineering ,Zhengzhou University ,Zhengzhou 450002 ,China)Abstract :This paper introduces the method of how to use ARX program to realize the parameterizing drawing based on AutoCAD. The relations between parameterizing drawing and ARX is very close. Using ARX in CAD development system can import the object oriented programming method , In order to meet the requirements for development ,ARX provides a plenty of MFC basic class libraries and the relevant API functions. This paper introduced the method of how to tailor the application’ s graphic object and how to add it to AutoCAD graphic database libraries un2der the AutoCAD environment. Key words :ARX;parameterize drawing;class libraries;entity 所謂參數化繪圖 ,就是將圖形的尺寸與一定的設計條件(或約束條件) 相關聯 ,即將圖形的尺寸看成是“設計條件”的函數. 當設計條件發生變化時 ,圖形尺寸便隨之得到相應更新. 參數化繪圖是相對于交互式繪圖而言的 ,早期的 CAD 系統 , 只提供交互式繪圖功能 ,交互式繪圖只能是對手工繪圖的簡單代替 ,無法從根本上提高設計效率 , 不是真正的 CAD ,只有參數化繪圖 ,才能充分發
總結
以上是生活随笔為你收集整理的api arx autocad_应用ARX实现基于AutoCAD平台的参数化绘图的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: JavaScript代码优化实战之一:缓
- 下一篇: boost asio resolver