Instant Autodesk AutoCAD 2014 Customization with .NET

Tom Nelson

  • 出版商: Packt Publishing
  • 出版日期: 2013-09-15
  • 售價: $1,210
  • 貴賓價: 9.5$1,150
  • 語言: 英文
  • 頁數: 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 的用戶界面,並將自己的控件添加到內置的 Ribbon 中。

詳細內容:
AutoCAD 的 .NET API 可用於創建小而強大的應用程序,幫助 CAD 用戶提高生產力並提高質量。 CAD 用戶可以加快草圖和設計過程,提高繪圖準確性,減少在重複或要求高的任務上花費的時間,並減少錯誤。簡而言之,用戶可以通過定制 CAD 工具更快地交付更好的繪圖。

學習如何使用 AutoCAD 的 .NET API 為 AutoCAD 創建自己的高效定制應用程序。本書是一個處理常見 AutoCAD 任務的小型項目工具箱。您可以根據這些示例開發自己的專業 AutoCAD 程序庫。清晰的逐步說明和完整的代碼示例說明了整個過程,使您可以輕鬆開發自己的自定義 AutoCAD 工具。

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

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

方法:
本書提供了實用的、逐步的指導和對最重要和最有用任務的清晰解釋。這是一本以 C# 編程語言為例的指導書,VB.NET 程序員也可以通過使用免費的轉換網站將示例轉換為 VB.NET 來受益。

清晰的逐步說明和完整的代碼示例說明了整個過程,使您可以輕鬆開發自己的自定義 AutoCAD 工具。