原创 創建新的標註樣式並設爲當前標註樣式
原文:Creating a new dimension style and make it as current [CommandMethod("NewDimStyle")] public void NewDimStyle() {
原创 獲得AutoCAD已加載的dll清單
原文:來自百度空間 using Autodesk.AutoCAD.DatabaseServices; using System.Reflection; using System; namespace LoadedAssemblie
原创 用.NET的面板來顯示多個AutoCAD實體的屬性
原文:Using a palette from .NET to display properties of multiple AutoCAD objects 本文僅翻譯部分內容 經過短暫的插曲,我們又回到了演示如何用.NET在AutoCA
原创 Through the Interface——用.NET從外部DWG文件導入塊
原文:Import blocks from an external DWG file using .NET 我們將用一個“side database”來從另外一個在內存中加載的,但並不加載到AutoCAD編輯器中的圖形來把塊導入到編輯器中
原创 獲取AutoCAD中.Net程序定義的命令——Through the Interface
原文:Getting the list of .NET-defined commands in AutoCAD Kerry Brown提出了一個有趣的問題: 有沒有一種辦法來確定從託管代碼加載到Acad中的命令…是一個全局列表或與一個特定
原创 在AutoCAD中使用Python——Through the Interface
原文:Using IronPython with AutoCAD 我已經使用過Python一段時間了,現在隨着IronPython2.0的發佈(現在爲2.7.4版,CC注)似乎已經到了開始嘗試應用到AutoCAD中的時候了~ 爲什麼要用P
原创 [轉]推薦net開發cad入門閱讀代碼片段
原文:http://www.cnblogs.com/cadlife/articles/2668158.html using System; using System.Collections.Generic; using System.Te
原创 用.NET創建並且覆蓋AutoCAD的標註樣式
原文:Creating and overriding AutoCAD dimension styles using .NET 上週末有一封電子郵件發來了一份請求:: 我一直在尋找一種創建標註樣式重定義的方法,但一直沒有真的沒有成功。我寫了
原创 [轉]acedSSGet()函數用法詳解
原文在此:http://www.cnblogs.com/wf225/archive/2010/01/12/1644724.html 大多數ObjectARX函數在處理選擇集和實體時,都用名字來識別選擇集或實體,該名字用一個長整型對來表
原创 Through the Interface——AutoDesk API使用入門
原文:Getting started with Autodesk's APIs AutoDesk公司的許多產品都有編程接口(API),如果是剛開始接觸我們產品的開發人員會有些無所適從。如果需要查看Autodesk軟件開發簡介信息的地方,A
原创 調試AutoCAD .Net程序加載時出現System.Windows.Markup.XamlParseException的解決辦法
在調試AutoCAD 2014時把引用 AcCoreMgd.dll AcDbMgd.dll AcMgd.dll 均加載上,然後編寫好代碼以後點擊Debug後出現以下提示: System.Windows.Markup.XamlParseEx
原创 Through the Interface——.NET 和 AutoCAD
原文:.Net and AutoCAD AutoCAD開發人員從AutoCAD 2004開始提供了"託管"的API("託管”後來被稱爲".NET")。這些託管API在當時是非常具有革命性的東西——它創建了一種混合模式的DLL來開放託管的界
原创 用未公開的函數acedSetDynInputDisplayMessage來實現動態顯示
原文見:http://forums.autodesk.com/t5/NET/Dynamic-Input/td-p/1339772 目前AutoCAD未公開實現Dynamic Input的API,要實現和AutoCAD同樣的效果,可以使用一
原创 Zoom Extents in .Net
原文:來自ADN 縮放模型空間到最合適屏幕,即Zoom E命令 public void SetViewportToExtents(Database db, ViewportTableRecord viewportTableRec) {
原创 支持多個版本的AutoCAD——C#中的條件編譯——Through the Interface
原文:Supporting multiple AutoCAD versions - conditional compilation in C# 有人問通過電子郵件如何獲取上週發佈的導入塊的代碼,然後在昨天的博文中討論瞭如何在AutoCA