Instant Autodesk AutoCAD 2014 Customization with .NET
暫譯: 即時 Autodesk AutoCAD 2014 自訂與 .NET

Tom Nelson

  • 出版商: Packt Publishing
  • 出版日期: 2013-09-15
  • 售價: $1,290
  • 貴賓價: 9.5$1,226
  • 語言: 英文
  • 頁數: 84
  • 裝訂: Paperback
  • ISBN: 1849699372
  • ISBN-13: 9781849699372
  • 相關分類: .NETAutoCAD
  • 已絕版

相關主題

商品描述

Use AutoCAD's .NET API to create your own powerful, custom applications for AutoCAD

Overview

  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results
  • Create powerful AutoCAD plugins to automate and accelerate your design and drawing processes
  • Design your own custom AutoCAD command, adding a simple yet powerful interface to drive your command
  • Customize AutoCAD’s user interface and add your own controls to the built-in Ribbon

In Detail

AutoCAD's .NET API can be used to create small but powerful applications that help CAD users achieve productivity gains and improve quality. CAD users can accelerate drafting and design processes, improve drawing accuracy, minimize time spent on repetitive or demanding tasks, and reduce errors. In short, users can deliver better drawings faster with customized CAD tools.

Learn how to use AutoCAD's .NET API to create your own high-powered, custom applications for AutoCAD. This book is a toolbox of small projects for handling common AutoCAD tasks. You can add to these recipes to develop your own specialized AutoCAD program library. Clear, step-by-step instructions and complete code examples illustrate the process, making it easy to develop your own custom AutoCAD tools.

Giving you the building blocks of AutoCAD application development, you’ll learn to create compact user interfaces for your AutoCAD plugins and add command buttons to the ribbon interface. Next, you’ll create programs to insert and modify AutoCAD block and attribute references, as well as working with custom data stored on AutoCAD objects. Learn how to publish layouts from external drawings in multi-sheet PDF files, export AutoCAD data to MS Excel for processing, and respond to AutoCAD event notifications (such as when an object is selected). With the tools presented in this book, you can develop and implement new functionality to address your specialized business needs.

What you will learn from this book

  • Set up your development environment to build your own custom AutoCAD applications
  • Automate your layout configuration, block insertion, reading and writing attribute values, and setting block reference properties
  • Read, write, and manipulate extended entity data stored in AutoCAD objects
  • Capture, organize and display AutoCAD object data
  • Select layouts from an external drawing file and use AutoCAD’s Publisher API to publish the layouts in a multi-sheet PDF file
  • Export your CAD data to a spreadsheet application to organize and sort the data
  • Add custom buttons to the AutoCAD ribbon interface to execute frequently used commands
  • Communicate with Autolisp programs. Define a .NET LispFunction to interact with an Autolisp function
  • React in real-time to changes in your AutoCAD drawing using AutoCAD event handlers

Approach

Filled with practical, step-by-step instructions and clear explanations for the most important and useful tasks. An instruction-based guide with examples written in the C# programming language. VB.NET programmers can also take advantage of these examples by using one of the free conversion websites to convert the examples to VB.NET.

Clear, step-by-step instructions and complete code examples illustrate the processes, making it easy to develop your own custom AutoCAD tools.

商品描述(中文翻譯)

使用 AutoCAD 的 .NET API 創建您自己的強大自定義應用程式

概述

- 立即學習新知!一本短小、快速、專注的指南,提供即時結果
- 創建強大的 AutoCAD 插件,以自動化和加速您的設計和繪圖過程
- 設計您自己的自定義 AutoCAD 命令,添加一個簡單但強大的介面來驅動您的命令
- 自定義 AutoCAD 的使用者介面,並將您自己的控制項添加到內建的功能區

詳細內容

AutoCAD 的 .NET API 可用於創建小型但強大的應用程式,幫助 CAD 使用者提高生產力並改善品質。CAD 使用者可以加速繪圖和設計過程,提高繪圖準確性,最小化在重複或繁重任務上花費的時間,並減少錯誤。簡而言之,使用者可以使用自定義的 CAD 工具更快地交付更好的繪圖。

學習如何使用 AutoCAD 的 .NET API 創建您自己的高效能自定義應用程式。本書是一個處理常見 AutoCAD 任務的小型專案工具箱。您可以在這些範例的基礎上,開發自己的專用 AutoCAD 程式庫。清晰的逐步指導和完整的程式碼範例說明了過程,使您能輕鬆開發自己的自定義 AutoCAD 工具。

本書提供 AutoCAD 應用程式開發的基礎,您將學會為您的 AutoCAD 插件創建緊湊的使用者介面,並將命令按鈕添加到功能區介面。接下來,您將創建程式來插入和修改 AutoCAD 區塊和屬性參考,並處理存儲在 AutoCAD 物件上的自定義數據。學習如何從外部繪圖中發佈佈局到多頁 PDF 文件,將 AutoCAD 數據導出到 MS Excel 進行處理,並響應 AutoCAD 事件通知(例如當選擇物件時)。使用本書中提供的工具,您可以開發和實施新功能,以滿足您的專業業務需求。

您將從本書中學到的內容

- 設置您的開發環境以構建自己的自定義 AutoCAD 應用程式
- 自動化您的佈局配置、區塊插入、讀取和寫入屬性值,以及設置區塊參考屬性
- 讀取、寫入和操作存儲在 AutoCAD 物件中的擴展實體數據
- 捕獲、組織和顯示 AutoCAD 物件數據
- 從外部繪圖文件中選擇佈局,並使用 AutoCAD 的 Publisher API 將佈局發佈到多頁 PDF 文件中
- 將您的 CAD 數據導出到電子表格應用程式以組織和排序數據
- 向 AutoCAD 功能區介面添加自定義按鈕以執行常用命令
- 與 Autolisp 程式進行通信。定義一個 .NET LispFunction 以與 Autolisp 函數互動
- 使用 AutoCAD 事件處理程序實時響應 AutoCAD 繪圖中的變更

方法

本書充滿實用的逐步指導和對最重要和有用任務的清晰解釋。這是一本基於指導的指南,範例使用 C# 程式語言編寫。VB.NET 程式設計師也可以利用這些範例,通過使用免費的轉換網站將範例轉換為 VB.NET。

清晰的逐步指導和完整的程式碼範例說明了過程,使您能輕鬆開發自己的自定義 AutoCAD 工具。