摘 要:為了提高標牌行業中繪制標牌的工作效率,操作流程的標準化,研究標牌參數化繪制方法及技術,結合ObjectARX2008與Visual Studio 2008中的C#進行了Auto CAD的二次開發。詳細闡述了標牌參數化繪圖系統的結構、設計流程以及應用設計結果進行參數化繪圖的過程,使標牌企業繪制人員在繪制的過程中,只需輸入必要參數就可以由計算機自動生成所要繪制的標牌。只要調整必要的參數就可以實現標牌的動態修改,從而大大提高了工作效率并擴展了CAD二次開發的范圍。關鍵詞:ObjectARX; AutoCAD二次開發; 標牌; 參數化繪制
中圖分類號:TN874-33; TP39172文獻標識碼:A
文章編號:1004-373X(2010)16-0184-04
Research of ObjectARX-Based Parameterization Drawing Method for Scutcheons
YU Xiao-rong
(Computer Science Engineering College, Jiangsu University of Science and Technology, Zhenjiang 212003, China)
Abstract: In order to improve the efficiency of the scutcheon drawing in the sign industry and achieve the standardization of operational process, the parameterization drawing method and technology are researched. Thecustomised secondary deve-lopment of AutoCAD was performed in the combination with ObjectARX2008 and C# in Visual Studio 2008. The structure of the parameterization cartography system, the design flow and the process of the parameterization cartography using the design result are elaborated. In the process of drawing, the scutcheons are automatically generated with the necessary parameters inputted into a computer directly, and moreover, the dynamic modification of scutcheons can also be achieved by adjusting the parameters. The actual applications show that the proposed method can greatly improve the working efficiency. The scope of AutoCAD secondary developmen is extended by employing the method.
Keywords: ObjectARX; AutoCAD secondary development; scutcheon; parameterization drawing
0 引 言
儀器儀表標牌是標牌行業的重要組成部分,無錫宜興的標牌企業對標牌的繪制在國內占有了很大市場,其中一家標牌企業在20多年的發展中已繪制過十幾萬種標牌,主要是儀器儀表標牌,在儀器儀表標牌中壓力表比重也很大,而壓力表的繪制方法在溫度表、百分表、冷媒表等類型標牌的繪制中完全適用。無錫宜興主要的標牌企業在80年代采用手工繪制,從90年代到現在則使用專用軟件進行繪制。AutoCAD軟件已出現了十幾年,但并沒有在標牌企業中流行起來,但由于儀器儀表標牌的特殊性,操作起來很復雜,很不方便,很耗時間,所以這些標牌企業仍然使用十幾年前開發的軟件。
但現在使用十幾年前開發的軟件存在很大的問題,由于軟件開發年代的限制,操作的復雜性相對較大,一個新的員工完全熟悉該軟件需要……