AutoCAD Plus: What You Get When You Add.NET!
|
|
- Arlene Doyle
- 5 years ago
- Views:
Transcription
1 11/30/2005-1:00 pm - 2:30 pm Room:N. Hemispheres (Salon E1) (Dolphin) Walt Disney World Swan and Dolphin Resort Orlando, Florida AutoCAD Plus: What You Get When You Add.NET! Clayton Hotson - Autodesk CP33-3 This class will introduce you to the hottest thing in the high-tech world:.net. We'll look at how the AutoCAD team -- and every Autodesk engineering team that bases technology on the AutoCAD platform -- is using.net technology to make your life easier. This class is for anyone who customizes AutoCAD using LISP, VB / VBA, or ObjectARX. About the Speaker: With more than 15 years in the software industry, Clayton has a unique background in Remote- Sensing/GIS, oceanographic survey data, and drafting applications. He originally specialized in developing navigation and instrumentation software for the PC platform. Over the years, he has gained fluency in several programming languages. Clayton's current focus is on APIs relating to AutoCAD-based products, as well as COM and.net technology. An accomplished trainer and consultant, he has taught API classes, ObjectARX programming, and.net seminars -- via the Web and in person -- to AUGI members and Autodesk Developer Network partners throughout the Americas.
2
3 AutoCAD Plus: What you get when you add.net Agenda: AutoCAD 2006 VB.NET Project Setup Basics Where do I start? Prerequisites, starting a project and basic setup. Writing to the AutoCAD Commandline Creating an AutoCAD command Where to get help - Documentation and samples! Getting input from the AutoCAD Commandline Hello [Name] Modal/Modeless Forms in AutoCAD Hello Form! Alert Dialogs Sidebar Useful settings Launching AutoCAD from the editor Running your code at module-load Auto-Load or Demand Load your app at AutoCAD startup! Modeless Dockable Form Hello Docking Form Peeking into the AutoCAD Database Understanding the Database Structure Iterate Blocks and Print them out Creating AutoCAD Entities Hello Text Create a text style! 2
4 AutoCAD 2006 VB.NET Project Setup Basics AutoCAD Plus: What you get when you add.net Prerequisites: AutoCAD 2006 and Visual Studio 2002, 2003 or Figure 1 In your VB editor, use the New Project Wizard to create your project in Visual Studio. Select the VB.NET Class Library project type (shown in fig. 1). If you have installed the ObjectARX Wizard (free at ) you can select the AutoCAD Managed VB Project Application to create the project, and make the basic settings. The only absolute dependencies our project has for AutoCAD development is to reference the managed AutoCAD assemblies acdbmgd.dll and acmgd.dll located in the AutoCAD install folder. Use the solution explorer to add these references manually (note the ARX/.NET Wizard does this for us). However, we can significantly shorten the amount of typing we require by Importing the namespaces defined within these assemblies. The most typical imported namespaces for AutoCAD are shown and described in the figure below. Once you have these two basic tasks done, we are free to begin coding for AutoCAD! 3
5 Writing to the AutoCAD Commandline AutoCAD Plus: What you get when you add.net Take a look at the code below which defines a simple function for writing to the AutoCAD commandline: ' Defines a command which posts a message on the AutoCAD command line <CommandMethod("HELLO")> _ Public Sub HelloCommand() Dim ed as Editor = Application.DocumentManager.MdiActiveDocument.Editor ed.writemessage(vbnewline + "Hello World!") ;Editor s WriteMessage member How do I load and run the project in AutoCAD?? In AutoCAD, loading.net managed assemblies is done via the NETLOAD command. Once loaded, any commands or forms defined in the project can be run. (See the sidebar for notes about auto-loading). Where to get Help!! VB.NET s editor includes Intellisense, which greatly reduces the need to look for function definitions and argument types, however it is inevitable that you will require help for AutoCAD programming. The Help for the AutoCAD.NET API is distributed as part of the ObjectARX SDK (free at ). There is a section within the documentation entitled ObjectARX Managed Wrapper Classes which gives a great introduction to the API. Also included in the ObjectARX SDK are numerous.net samples which demonstrate the API s capabilities. See the samples under the ObjectARX\Samples\dotNet folder. Getting input from the AutoCAD Commandline Here is some code which demonstrates a couple representative methods for obtaining user input on the commandline. There are many more prompt types available (real, angle, distance ), but the code below demonstrates the basic usage for nearly all of them. See the Prompts SDK sample for detailed usage of each of these. <CommandMethod("HELLO")> _ Public Sub HelloCommand() Dim ed As Editor = Application.DocumentManager.MdiActiveDocument.Editor 'Prompts for your name and prints it back to the commandline Dim NameResult As PromptResult = ed.getstring("what is your name? ") ed.writemessage(vbnewline + "Hello " + NameResult.StringResult) 'Prompts for your age and prints it back to the commandline - using options to constrain Dim AgeOptions As New PromptIntegerOptions(vbNewLine + "What is your age?") AgeOptions.AllowZero = False 'No babies allowed :-) Dim AgeResult As PromptIntegerResult = ed.getinteger(ageoptions) 'Get the value ed.writemessage(vbnewline + "You entered " + AgeResult.Value.ToString) 'Print it back 4
6 AutoCAD Plus: What you get when you add.net Modal/Modeless Forms Using the VB editor, it is extremely easy to create user forms and dialogs with the visual tools. To add a form, simply right click on the project name within the solution and select Add new Item Add new Form. You can then use the Toollbox to add controls directly to the form. Displaying these forms in AutoCAD is even easier. Here is the relevant code associated with displaying a modal form in AutoCAD using the.net API: <CommandMethod("HELLOFORM")> _ Public Sub HelloForm() Dim form As New Form1() Application.ShowModalDialog(form) Application.ShowModelessDialog(form) Modeless version is the same Why not use the Form.Show() method? In AutoCAD, this is not supported, and can lead to unexpected behavior. The added benefit of using the AutoCAD API to display the form is that AutoCAD remembers the size and location of the form between usages. Sidebar Useful settings Launch AutoCAD to Debug Rather than having to launch AutoCAD from the start menu each time, it is much easier to point the Visual Studio editor to AutoCAD to run when we want to execute. We can do this with a single setting in the project Property Pages. Under Configuration Properties Debugging, set the Start External Program option to point to AutoCAD. 5
7 Running initialization code at module-load time AutoCAD Plus: What you get when you add.net In order to have our form load currently we need to run the HELLOFORM command. Many times it is desirable to run some initialization code (of any kind) when the module is first loaded. Here is the relevant code for this: <Assembly: ExtensionApplication(GetType(vbMgdAuDemo.Class1))> Attribute to speed up load-time Public Class Class1 Implements Autodesk.AutoCAD.Runtime.IExtensionApplication Public Sub Initialize() Implements IExtensionApplication.Initialize HelloForm() Or any other relevant startup code Public Sub terminate() Implements IExtensionApplication.Terminate Code to run during AutoCAD shutdown At module-load time, AutoCAD searches for the IExtensionApplication interface in all exported types from the module. If it is found, it calls the members during startup and shutdown. The IExtensionApplication attribute present simply speeds up the load-time search making for faster loads. The CommandClass attribute is identical, and is used to define modules which define commands, speeding up the load process. Setting up your module for Demand (Automatic) load in AutoCAD To set your module to be loaded automatically by AutoCAD at startup, there are a few registry keys we can set that AutoCAD will search at startup. Generally, it is best to have an installer set these during product installation. Here are the relevant keys demonstrating some settings in AutoCAD [HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\AutoCAD\R16.2\ACAD-4001:409\Applications\vbMgdAuDemo] "DESCRIPTION"="Autodesk University Test Application" "LOADER"="C:\\My Documents\\_Temp Visual Studio Projects\\vbMgdAuDemo\\bin\\vbMgdAuDemo.dll" "LOADCTRLS"=dword: e "MANAGED"=dword: [HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\AutoCAD\R16.2\ACAD-4001:409\Applications\vbMgdAuDemo\Commands] "HELLOFORM"="HELLOFORM" [HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\AutoCAD\R16.2\ACAD-4001:409\Applications\vbMgdAuDemo\Groups] "VBMGDAUDEMO_CMDS"="VBMGDAUDEMO_CMDS 6
8 AutoCAD Plus: What you get when you add.net Modeless Dockable Form With only a little more work than it took to make a modeless dialog, we can make our modeless dialog a dockable palette window, which looks and behaves the same as the standard AutoCAD palette windows. We can add controls and handle messages just as we would a standard form, but AutoCAD controls the way it interacts with the frame. Below is the relevant code which demonstrates how: Shared ps As PaletteSet = Nothing 'Since we're modeless, we should have a shared variable for this <CommandMethod("HELLOFORM")> _ Public Sub HelloForm() If ps Is Nothing Then 'If the command has never been run... ps = New PaletteSet("Test Palette Set") ps.style = PaletteSetStyles.ShowAutoHideButton Or PaletteSetStyles.ShowCloseButton ' There are many other styles available as well! See the docs ps.minimumsize = New System.Drawing.Size(300, 300) Set the form to 300x300 pixels ps.add("test Palette 1", New TestControl()) TestControl is a User Control created in the resource editor End If ps.visible = True 'Whether the command was run or not, show the form - it is never destroyed. For more details about this functionality, see the DockingPalette SDK sample. 7
9 Peeking into the AutoCAD Database AutoCAD Plus: What you get when you add.net The AutoCAD database is comprised of a set of symbol tables, each of which contain relevant records representing entities, objects and the containers which hold them. For instance, each AutoCAD Layer exists as a Layer Table Record contained within the one and only Layer Table database table. Similarly AutoCAD Blocks exist as Block Table Records within the single Block Table (for detailed information about the structure of the database and these tables, see the ObjectARX Developer s guide free at As developers, we access the tables basically the same way. The only difference is knowing how the various tables relate to each other. In this example, we take our first look into the AutoCAD database by simply listing out all the blocks in the current drawing. The example demonstrates how to access the current database, and individual database-resident objects within it using a.net transaction. Transactions are necessary mechanisms to work with, and are actually really easy and useful once you get the hang of them. Here is the relevant code which prints out the blocks to the commandline: <CommandMethod("LISTBLOCKS")> _ Public Sub ListBlocks() Dim ed As Editor = Application.DocumentManager.MdiActiveDocument.Editor Dim db = HostApplicationServices.WorkingDatabase 'Get the current AutoCAD Database Dim trans As Transaction = db.transactionmanager.starttransaction() 'Start the db transaction. Try Dim bt As BlockTable = trans.getobject(db.blocktableid, OpenMode.ForRead) 'Get the Block Table Dim id As ObjectId 'Declare an ID to represent each block. For Each id In bt 'for each block in the block table Dim btr As BlockTableRecord = trans.getobject(id, OpenMode.ForRead) 'Get the Block Table Record ed.writemessage(vbnewline + "Block Found: " + btr.name()) 'Write out its name Next trans.commit() 'we're done - no errors Catch MsgBox( Error! ) 'something went wrong! trans.abort() Finally trans.dispose() 'cleanup - if an exception was thrown, this will clean up everything too. End Try (Note to use these.net types, you will need to import another namespace The Autodesk.AutoCAD.DatabaseServices namespace defines all of the new types we use in the above function. Take a look at what is happening here. We declare a Transaction object using the current database. From then on, whenever we need to access any database resident object, we use the transaction object ( trans ) using the GetObject method. Notice also that no cleanup is ever performed; this is because the transaction object will do that for us and what is especially convenient is the it will handle cleanup even if catastrophic errors occur, so long as we use the transactions properly. The above example will cleanly handle any errors that occur within the function. Notice also that we use two different types of objects to represent a database resident object. Once for when it is transactionresident and one when it is not. When we use a transaction to obtain a reference to a specific entity type (such as a BlockTableRecord shown above) we can dimension a reference type to do it, and use the references members and properties as we normally do in.net. However, we need a way to identify objects uniquely before we assign a reference to them. For this we use the ObjectId reference or moniker type. Get used to this type it is ubiquitous in AutoCAD programming. In the above example, we simply use the id as a convenience for the iterator to use all we do is pass it to the transaction to obtain our reference. 8
10 AutoCAD Plus: What you get when you add.net The design pattern for the transaction usage, the exception handling and the iterator pattern (for-each-next) is very common in the.net for AutoCAD API, so is a good guide for coding in AutoCAD. See the various.net SDK samples for more examples. Adding to the AutoCAD DWG Database The next step into understanding and using the database is to demonstrate how to add a single entity to the database. The MODEL_SPACE block table record is a block just like any other block (as you can see from the LISTBLOCK example). The only difference is that this block cannot be purged, and always represents the Model view in AutoCAD. Any entity in Model space is visible in the Model View. Accessing the MODEL_SPACE block table record is just 1 additional step beyond what we have already done to traverse the blocks in the last step. Once we obtain MODEL_SPACE, it is very easy to add entities to it. The following example code demonstrates how you can use the same transaction/exception design pattern to drill down into the database and add a single piece of text to MODEL_SPACE. <Autodesk.AutoCAD.Runtime.CommandMethod("HELLOTEXT")> _ Public Sub HelloText() Dim db As Database = HostApplicationServices.WorkingDatabase 'Get the AutoCAD Database Dim trans As Transaction = db.transactionmanager.starttransaction() 'Start the db transaction. Try Dim bt As BlockTable = trans.getobject(db.blocktableid, OpenMode.ForRead) 'Get the Block Table Dim btr As BlockTableRecord = trans.getobject(bt(btr.modelspace), OpenMode.ForWrite) 'Get Model Space! 'Create the new text and set its dimensions Dim text As New MText() text.location = New Point3d(15, 15, 0) text.textheight = 2.0 text.contents = "Hello World!!" ' Append entity to model space, and let the transaction know about it btr.appendentity(text) trans.addnewlycreateddbobject(text, True) trans.commit() 'All done - no errors Catch trans.abort() 'Uh oh - error happened - abort the transaction - automatic cleanup Finally ' Finally code is invoked whether there's an error or not trans.dispose() 'cleanup - if an exception was thrown, this will clean up everything too. End Try Note: Use of the Point3d type above requires that we import yet another namespace into AutoCAD. The Point3d, as well as all other geometric types in the.net API are defined within the Autodesk.AutoCAD.Geometry namespace. 9
11 AutoCAD Plus: What you get when you add.net Extra stuff Creating a Font and applying it to our text! Here is an further example of drilling into the database. This next example shows how to create a TextStyleTableRecord and add it to the TextStyleTable, using the same logic and design as above. We ll set the font for this style to be Times New Roman, then assign the text style to the text we created above. Here is the function which creates a new TextStyle, and returns it as an ObjectId. We can use this ObjectID directly to assign to our MText entity. Public Function CreateTextStyle() As ObjectId Dim returnid As ObjectId Dim db As Database = HostApplicationServices.WorkingDatabase 'Get the AutoCAD Database Dim trans As Transaction = db.transactionmanager.starttransaction() 'Start the db transaction. Try Dim st As TextStyleTable = trans.getobject(db.textstyletableid, OpenMode.ForWrite, False) 'Get the Style Table If st.has("mystyle") = True Then returnid = st.item("mystyle") 'If the style already exists, let's use that instead of creating a new one. Else Dim style As TextStyleTableRecord = New TextStyleTableRecord() 'create a new one. style.name = "MyStyle" 'Set the name style.font = New Autodesk.AutoCAD.GraphicsInterface.FontDescriptor("Times New Roman", True, True, Nothing, Nothing) 'Set the font returnid = st.add(style) 'Add the new style to the Style Table trans.addnewlycreateddbobject(style, True) 'Add it to the transaction End If trans.commit() 'All done - no errors Catch trans.abort() 'Uh oh - error happened - abort the transaction - automatic cleanup Finally trans.dispose() 'End the transaction End Try Return returnid End Function We can utilize this function by adding to the HELLOTEXT command the following single line just after we set the contents to Hello World : text.textstyle = CreateTextStyle() Set the text style Questions 10
12 AutoCAD Plus: What you get when you add.net 11
Getting Started With AutoCAD Civil 3D.Net Programming
Getting Started With AutoCAD Civil 3D.Net Programming Josh Modglin Advanced Technologies Solutions CP1497 Have you ever wanted to program and customize AutoCAD Civil 3D but cannot seem to make the jump
More informationThe AutoCAD.NET API: The New Frontier
11/30/2005-1:00 pm - 2:30 pm Room:Swan 7/8 (Swan) Walt Disney World Swan and Dolphin Resort Orlando, Florida The AutoCAD.NET API: The New Frontier Bobby Jones - Beazer Homes CP33-1 With the greatly improved
More informationLab 1 Hello World: Project Setup
Lab 1 Hello World: Project Setup Create your first AutoCAD managed application In this lab, we will use Visual Studio.NET and create a new Class Library project. This project will create a.net dll that
More informationAUTOCAD ONLY AutoCAD LT does not support.net or VBA. This entire chapter applies to AutoCAD only.
BONUS CHAPTER Programming with.net 4 IN THIS CHAPTER Understanding.NET and AutoCAD Creating VB.NET code Using the command line to obtain user input Using dialog boxes to obtain complex user input Modifying
More informationCreating a Command in AutoCAD with VB.NET or C#
James E. Johnson Synergis Software CP2602-L This hands-on lab will show you how to create a new project in Visual Studio and do setup for an AutoCAD plug-in. You will learn how to add code to create a
More informationIndustrial Strength Add-Ins: Creating Commands in Autodesk Inventor
Industrial Strength Add-Ins: Creating Commands in Autodesk Inventor Brian Ekins Autodesk, Inc. DE211-4 This session focuses on techniques that will help you produce an industrial strength add-in application.
More informationAutoCAD Electrical Customization from A to Z
11/30/2005-10:00 am - 11:30 am Room:Parrot 1/2 (Swan) Walt Disney World Swan and Dolphin Resort Orlando, Florida AutoCAD Electrical Customization from A to Z Randy Brunette - Brunette Technologies, LLC
More informationEssentials of Points and User-Defined Properties in Autodesk Civil 3D
11/28/2005-5:00 pm - 6:30 pm Room:S. Hemispheres (Salon III) (The Dolphin) Walt Disney World Swan and Dolphin Resort Orlando, Florida Essentials of Points and User-Defined Properties in Autodesk Civil
More informationAutodesk Revit Building and 3ds Max : A One-Two Punch
11/28/2005-8:00 am - 9:30 am Room:N. Hemispheres (Salon A2) (Dolphin) Walt Disney World Swan and Dolphin Resort Orlando, Florida Autodesk Revit Building and 3ds Max : A One-Two Punch Roger Cusson - L'Atelier
More informationComplete Display Control in Autodesk Architectural Desktop
11/30/2005-10:00 am - 11:30 am Room:N. Hemispheres (Salon D) (Dolphin) Walt Disney World Swan and Dolphin Resort Orlando, Florida Complete Display Control in Autodesk Architectural Desktop Matt Dillon
More informationWorking with AutoCAD in Mixed Mac and PC Environment
Working with AutoCAD in Mixed Mac and PC Environment Pavan Jella Autodesk AC6907 With the introduction of AutoCAD for Mac, some professionals now work in hybrid environments one engineer may draft designs
More informationVisual Studio.NET for AutoCAD Programmers
December 2-5, 2003 MGM Grand Hotel Las Vegas Visual Studio.NET for AutoCAD Programmers Speaker Name: Andrew G. Roe, P.E. Class Code: CP32-3 Class Description: In this class, we'll introduce the Visual
More informationGetting Along: Coordinating Architectural and Structural Design with Autodesk Revit Structure
11/30/2005-8:00 am - 9:30 am Room:N. Hemispheres (Salon A2) (Dolphin) Walt Disney World Swan and Dolphin Resort Orlando, Florida Getting Along: Coordinating Architectural and Structural Design with Autodesk
More informationAchieving Contentment with the AutoCAD Architecture Content Browser Douglas Bowers, AIA
Achieving Contentment with the AutoCAD Architecture Content Browser Douglas Bowers, AIA AB110-3 If you have created AutoCAD Architecture (formerly ADT) object styles and want to know how to easily share
More informationAutodesk Architectural Desktop Real-World Workflow Methodology
11/30/2005-5:00 pm - 6:30 pm Room:N. Hemispheres (Salon E1) (Dolphin) Walt Disney World Swan and Dolphin Resort Orlando, Florida Autodesk Architectural Desktop Real-World Workflow Methodology Edward Goldberg,
More informationWhat's New in AutoCAD Electrical 2006?
11/28/2005-5:00 pm - 6:30 pm Room:Pelican 2 (Swan) Walt Disney World Swan and Dolphin Resort Orlando, Florida What's New in AutoCAD Electrical 2006? Randy Brunette - Brunette Technologies, LLC MA15-2 You
More informationIntroduction to Autodesk Revit Structure
11/30/2005-5:00 pm - 6:30 pm Room:N. Hemispheres (Salon E2) (Dolphin) Walt Disney World Swan and Dolphin Resort Orlando, Florida Nicolas Mangon - Autodesk SD35-1 This year, Autodesk is introducing the
More informationMechanical Drawings Gone Wild
11/28/2005-1:00 pm - 2:30 pm Room:Mockingbird 1/2 [Lab] (Swan) Walt Disney World Swan and Dolphin Resort Orlando, Florida Mechanical Drawings Gone Wild Colleen Klein - MasterGraphics and Jim Swain (Assistant);
More informationGetting started 7. Setting properties 23
Contents 1 2 3 Getting started 7 Introducing Visual Basic 8 Installing Visual Studio 10 Exploring the IDE 12 Starting a new project 14 Adding a visual control 16 Adding functional code 18 Saving projects
More informationTop 10 Reasons to Upgrade from AutoCAD 2000 to AutoCAD 2008
AUTOCAD 2008 Top 10 Reasons to Upgrade from AutoCAD 2000 to AutoCAD 2008 Everyday Tools Are Better Than Before AutoCAD 2008 software has all your favorite tools, but now they re better than ever. You ll
More informationCustomize AutoCAD P&ID to Your Needs
Customize AutoCAD P&ID to Your Needs Use the power of AutoCAD P&ID and extend its capabilities to suit your needs by writing custom commands, features, and solutions. Getting Started The P&ID Software
More informationGetting started 7. Setting properties 23
Contents 1 2 3 Getting started 7 Introduction 8 Installing Visual Basic 10 Exploring the IDE 12 Starting a new project 14 Adding a visual control 16 Adding functional code 18 Saving projects 20 Reopening
More informationGetting Started COPYRIGHTED MATERIAL. Chapter 1. Exploring the AutoCAD 2013 for Windows User Interface. Exploring the Graphical User Interface
Getting Started Chapter 1 P AutoCAD for Mac has a user interface that is customized to the Mac experience. Although the Mac user interface is not covered in this book, its commands and capabilities are
More informationVBA: Hands-On Introduction to VBA Programming
11/28/2005-10:00 am - 11:30 am Room:Osprey 1 [Lab] (Swan) Walt Disney World Swan and Dolphin Resort Orlando, Florida VBA: Hands-On Introduction to VBA Programming Jerry Winters - VB CAD and Phil Kreiker
More informationAUGI Tips and Tricks GD12-2. Donnia Tabor-Hanson - MossCreek Designs
11/28/2005-10:00 am - 11:30 am Room:S. Hemispheres (Salon II) (Dolphin) Walt Disney World Swan and Dolphin Resort Orlando, Florida AUGI Tips and Tricks Donnia Tabor-Hanson - MossCreek Designs GD12-2 Did
More informationTools for the VBA User
11/30/2005-3:00 pm - 4:30 pm Room:Mockingbird 1/2 [Lab] (Swan) Walt Disney World Swan and Dolphin Resort Orlando, Florida R. Robert Bell - MW Consulting Engineers and Phil Kreiker (Assistant); Darren Young
More informationBETA. What's New. in SOFTERRA LDAP ADMINISTRATOR
BETA 2008 What's New in SOFTERRA LDAP ADMINISTRATOR Introduction Softerra LDAP Administrator 2008 includes nearly five dozen new features, improvements and user interface refinements, many of which are
More informationBecause After all These Years I Still Don t Get it!
BILT North America 2017 Westin Harbour Castle Toronto August 3-5 Session 3.2 Shared Coordinates: Because After all These Years I Still Don t Get it! Class Description In an effort to reveal the system
More informationLarge-Scale Deployment of Autodesk Inventor Series/Professional
11/30/2005-3:00 pm - 4:30 pm Room:Toucan 1 (Swan) Walt Disney World Swan and Dolphin Resort Orlando, Florida Large-Scale Deployment of Autodesk Inventor Series/Professional Matt Krupa - Parker Hannifin
More informationPart I. Integrated Development Environment. Chapter 2: The Solution Explorer, Toolbox, and Properties. Chapter 3: Options and Customizations
Part I Integrated Development Environment Chapter 1: A Quick Tour Chapter 2: The Solution Explorer, Toolbox, and Properties Chapter 3: Options and Customizations Chapter 4: Workspace Control Chapter 5:
More informationManaging Content with AutoCAD DesignCenter
Managing Content with AutoCAD DesignCenter In This Chapter 14 This chapter introduces AutoCAD DesignCenter. You can now locate and organize drawing data and insert blocks, layers, external references,
More informationCOPYRIGHTED MATERIAL. Part I: Getting Started. Chapter 1: IDE. Chapter 2: Controls in General. Chapter 3: Program and Module Structure
Part I: Getting Started Chapter 1: IDE Chapter 2: Controls in General Chapter 3: Program and Module Structure Chapter 4: Data Types, Variables, and Constants Chapter 5: Operators Chapter 6: Subroutines
More informationData Mining in Autocad with Data Extraction
Data Mining in Autocad with Data Extraction Ben Rand Director of IT, Job Industrial Services, Inc. Twitter: @leadensky Email: ben@leadensky.com Join the conversation #AU2016 A little about me BA in English,
More informationLas Vegas November 27-30, 2001
Las Vegas November 27-30, 2001 Las Vegas November 27-30, 2001 ObjectARX: Tools, Tips and Working Demonstrations Presented by: Charles McAuley Developer Consulting Group Autodesk. Ask all the questions
More informationAn Overview of VBA in AutoCAD 2006
11/29/2005-5:00 pm - 6:30 pm Room:Swan 2 (Swan Walt Disney World Swan and Dolphin Resort Orlando, Florida An Overview of VBA in AutoCAD 2006 Phil Kreiker - Looking Glass Microproducts CP22-2 This course
More informationA Quick Tour GETTING STARTED WHAT S IN THIS CHAPTER?
1 A Quick Tour WHAT S IN THIS CHAPTER? Installing and getting started with Visual Studio 2012 Creating and running your fi rst application Debugging and deploying an application Ever since software has
More informationPart I: Programming Access Applications. Chapter 1: Overview of Programming for Access. Chapter 2: Extending Applications Using the Windows API
74029c01.qxd:WroxPro 9/27/07 1:43 PM Page 1 Part I: Programming Access Applications Chapter 1: Overview of Programming for Access Chapter 2: Extending Applications Using the Windows API Chapter 3: Programming
More informationModeling Large-Scale Refrigeration Projects and the Necessary Steps to Stay Organized and Accurate
Nik Weller LEO A DALY MP3735 Using Autodesk Revit software to model a large-scale refrigeration project with thousands of valves to schedule all needing their own identification while also dealing with
More informationINFORMATICS LABORATORY WORK #2
KHARKIV NATIONAL UNIVERSITY OF RADIO ELECTRONICS INFORMATICS LABORATORY WORK #2 SIMPLE C# PROGRAMS Associate Professor A.S. Eremenko, Associate Professor A.V. Persikov 2 Simple C# programs Objective: writing
More informationSD Get More from 3ds Max with Custom Tool Development
SD21033 - Get More from 3ds Max with Custom Tool Development Kevin Vandecar Forge Developer Advocate @kevinvandecar Join the conversation #AU2016 bio: Kevin Vandecar Based in Manchester, New Hampshire,
More information************ THIS PROGRAM IS NOT ELIGIBLE FOR LATE SUBMISSION. ALL SUBMISSIONS MUST BE RECEIVED BY THE DUE DATE/TIME INDICATED ABOVE HERE
Program 10: 40 points: Due Tuesday, May 12, 2015 : 11:59 p.m. ************ THIS PROGRAM IS NOT ELIGIBLE FOR LATE SUBMISSION. ALL SUBMISSIONS MUST BE RECEIVED BY THE DUE DATE/TIME INDICATED ABOVE HERE *************
More informationThe purpose of this tutorial is to introduce you to the Construct 2 program. First, you will be told where the software is located on the computer
Learning Targets: Students will be introduced to industry recognized game development software Students will learn how to navigate within the software Students will learn the basics on how to use Construct
More informationGetting Started with Autodesk Vault Programming
Getting Started with Autodesk Vault Programming Doug Redmond Autodesk CP4534 An introduction to the customization options provided through the Vault APIs. Learning Objectives At the end of this class,
More informationSoftware Development Kit. Quick Start Guide
Software Development Kit Quick Start Guide Quick Start Guide RGB Lasersysteme GmbH Software Development Kit Version: 1.1.1 Date: July 29, 2012 This document is protected by copyright. Do not copy or publish
More informationCookbook for using SQL Server DTS 2000 with.net
Cookbook for using SQL Server DTS 2000 with.net Version: 1.0 revision 15 Last updated: Tuesday, July 23, 2002 Author: Gert E.R. Drapers (GertD@SQLDev.Net) All rights reserved. No part of the contents of
More informationAutodesk 360 Hands- on
Autodesk 360 Hands- on Randall Young, Bud Schroeder, Sandy Yu Autodesk AC4405- L Wondering what the Autodesk 360 cloud- based platform is all about? Here's your chance to experience it firsthand. In this
More informationHeads Up Design: Focusing on the drawing area
Autodesk AutoCAD 2006 New Features By Ellen Finkelstein Here are some of my favorite new features. If you want a detailed description and applicable exercises, you'll find them in my book -- AutoCAD 2006
More informationLab 7 Macros, Modules, Data Access Pages and Internet Summary Macros: How to Create and Run Modules vs. Macros 1. Jumping to Internet
Lab 7 Macros, Modules, Data Access Pages and Internet Summary Macros: How to Create and Run Modules vs. Macros 1. Jumping to Internet 1. Macros 1.1 What is a macro? A macro is a set of one or more actions
More informationDOC - MS VISUAL STUDIO EXPRESS 2012 USER GUIDE
08 November, 2017 DOC - MS VISUAL STUDIO EXPRESS 2012 USER GUIDE Document Filetype: PDF 454.51 KB 0 DOC - MS VISUAL STUDIO EXPRESS 2012 USER GUIDE NET API in Visual Studio 2008 Express. How do I install
More informationWhat to Do with the New CUI
11/28/2005-8:00 am - 9:30 am Room:N. Hemispheres (Salon B/C) (Dolphin) Walt Disney World Swan and Dolphin Resort Orlando, Florida What to Do with the New CUI R. Robert Bell - MW Consulting Engineers CP11-1
More informationCHAPTER 1 COPYRIGHTED MATERIAL. Finding Your Way in the Inventor Interface
CHAPTER 1 Finding Your Way in the Inventor Interface COPYRIGHTED MATERIAL Understanding Inventor s interface behavior Opening existing files Creating new files Modifying the look and feel of Inventor Managing
More informationThe Autodesk Architectural Desktop Tool System Revealed
11/30/2005-8:00 am - 9:30 am Room:N. Hemispheres (Salon D) (Dolphin) Walt Disney World Swan and Dolphin Resort Orlando, Florida The Autodesk Architectural Desktop Tool System Revealed Paul Aubin - Paul
More informationMastering the Visual LISP Integrated Development Environment
Mastering the Visual LISP Integrated Development Environment R. Robert Bell Sparling SD7297 How do you create and edit your AutoLISP programming language software code? Are you using a text editor such
More informationReadme: Autodesk Impression
Seite 1 von 6 Readme: Autodesk Impression Thank you for your interest in Autodesk Impression. Impression converts precision drawings to eye-catching design illustrations by applying appearance styles that
More informationOverview. Topics in this section Introduction Using the API Reference Setting Up Visual Studio AutoCAD. Please send us your comment about this page
Overview Topics in this section Introduction Using the API Reference Setting Up Visual Studio AutoCAD ntroduction The AutoCAD Map 3D 2008.NET API provides access to AutoCAD Map 3D functionality so you
More informationGetting Started. 1 by Conner Irwin
If you are a fan of the.net family of languages C#, Visual Basic, and so forth and you own a copy of AGK, then you ve got a new toy to play with. The AGK Wrapper for.net is an open source project that
More informationDeveloping Desktop Apps for Ultrabook Devices in Windows 8*: Getting Started
Developing Desktop Apps for Ultrabook Devices in Windows 8*: Getting Started By Paul Ferrill The Ultrabook provides a rich set of sensor capabilities to enhance a wide range of applications. It also includes
More informationIntersection Design with Autodesk Civil 3D
12/1/2005-8:00 am - 11:30 am Room:Osprey 1 [Lab] (Swan) Walt Disney World Swan and Dolphin Resort Orlando, Florida Intersection Design with Autodesk Civil 3D Daniel Philbrick - Autodesk and James Wedding
More informationTeam Developer and.net
Team Developer and.net Unify Corporation Table of Contents Abstract...3 PART I - Consuming Team Developer Code from VB.NET...6 PART II - Consuming a VB.NET Assembly from Team Developer...8 Conclusion...11
More informationMaking Your Label Styles Work For You in C3D
Making Your Label Styles Work For You in C3D Mark Hultgren Smith Engineering CV110-5 Once you have completed this course, you'll understand and be able to apply the methods for developing a complete set
More informationArchitectural Desktop 2007
Architectural Desktop 2007 Markin' Time - Keeping on Schedule with ADT Paul Oakley S2-3 Course Summary: Designed as an introduction and/or update for both new and existing ADT users, this course provides
More informationVBScript: Math Functions
C h a p t e r 3 VBScript: Math Functions In this chapter, you will learn how to use the following VBScript functions to World Class standards: 1. Writing Math Equations in VBScripts 2. Beginning a New
More informationBringing Together One ASP.NET
Bringing Together One ASP.NET Overview ASP.NET is a framework for building Web sites, apps and services using specialized technologies such as MVC, Web API and others. With the expansion ASP.NET has seen
More informationTeam Developer 6.1. Configure the color-coding in the Tools Preferences dialog under the Outline tab.
Team Developer New Features : Team Developer 6.1 IDE Features: Team Developer 6.1 Color-coded Source Code The source code in the IDE is now color-coded. You can customize the colors of each of the following
More informationManaging a complete site over multiple AutoCAD Plant 3D Projects
Managing a complete site over multiple AutoCAD Plant 3D Projects Jarrod Mudford Autodesk PD2653 Managing a complete site over multiple AutoCAD Plant 3D Projects Learning Objectives At the end of this class,
More informationWorking with SQL SERVER EXPRESS
Table of Contents How to Install SQL Server 2012 Express Edition... 1 Step 1.... 1 Step 2.... 2 Step 3.... 3 Step 4.... 3 Step 5.... 4 Step 6.... 5 Step 7.... 5 Step 8.... 6 Fixing Database Start-up Connection
More informationSchedule Anything in Autodesk AutoCAD MEP
Matt Dillon Enceptia (Assistant/Co-presenter optional) [Arial 10] MP1424-L Learning Objectives At the end of this class, you will be able to: Explain the purpose of Property Set Definitions Create a custom
More information2. A GUI A. uses buttons, menus, and icons B. should be easy for a user to manipulate C. both (a) and (b) D. stands for Graphic Use Interaction
1. Which language is not a true object-oriented programming language? A. VB 6 B. VB.NET C. JAVA D. C++ 2. A GUI A. uses buttons, menus, and icons B. should be easy for a user to manipulate C. both (a)
More informationWelcome to AutoCAD 2018
Welcome to AutoCAD 2018 Drawing File Format AutoCAD 2018 comes with a drawing file format change. Previously, the AutoCAD 2013 Drawing File Format has been used. As you can see in the screenshot, the text
More informationVBA Foundations, Part 12
As quickly as you can Snatch the Pebble from my hand, he had said as he extended his hand toward you. You reached for the pebble but you opened it only to find that it was indeed still empty. Looking down
More informationChapter 1 Working with Action Recorder in AutoCAD
Contents Chapter 1 Working with Action Recorder in AutoCAD 2009......... 1 Usage Scenario............................... 2 Features Covered in This Tutorial..................... 2 Tutorial Files................................
More informationKEYWORDS DDE GETOBJECT PATHNAME CLASS VB EDITOR WITHEVENTS HMI 1.0 TYPE LIBRARY HMI.TAG
Document Number: IX_APP00113 File Name: SpreadsheetLinking.doc Date: January 22, 2003 Product: InteractX Designer Application Note Associated Project: GetObjectDemo KEYWORDS DDE GETOBJECT PATHNAME CLASS
More informationInterface. 2. Interface Adobe InDesign CS2 H O T
2. Interface Adobe InDesign CS2 H O T 2 Interface The Welcome Screen Interface Overview The Toolbox Toolbox Fly-Out Menus InDesign Palettes Collapsing and Grouping Palettes Moving and Resizing Docked or
More informationUsing Images in FF&EZ within a Citrix Environment
1 Using Images in FF&EZ within a Citrix Environment This document explains how to add images to specifications, and covers the situation where the FF&E database is on a remote server instead of your local
More informationWorkbench and JFace Foundations. Part One, of a two part tutorial series
Workbench and JFace Foundations Part One, of a two part tutorial series 2005 by IBM; made available under the EPL v1.0 Date: February 28, 2005 About the Speakers Tod Creasey Senior Software Developer,
More informationUsing Fusion 360 and A360 for Team Collaboration
Using Fusion 360 and A360 for Team Collaboration Taylor Stein Autodesk Sachlene Singh - Autodesk CD7050 This class will show attendees how to use Fusion 360 and the Autodesk A360 cloudcomputing platform
More informationIntegrating Microsoft Access with AutoCAD VBA dave espinosa-aguilar Toxic Frog Multimedia
November 30 December 3, 2004 Las Vegas, Nevada Integrating Microsoft Access with AutoCAD VBA dave espinosa-aguilar Toxic Frog Multimedia CP32-3 Course Description: For years AutoCAD users have been trying
More informationEMCO MSI Package Builder Architect 7. Copyright EMCO. All rights reserved.
EMCO MSI Package Builder Architect 7 Company web site: emcosoftware.com Support e-mail: support@emcosoftware.com Table of Contents Chapter... 1: Introduction 4 Chapter... 2: Getting Started 6 Getting...
More informationThe Anglemaker Program
C h a p t e r 3 The Anglemaker Program In this chapter, you will learn the following to World Class standards: 1. Drawing and Labeling the Anglemaker Programming Sketch 2. Launching the Visual LISP Editor
More informationPDSOE Workspace Management and Organisation. Marko Rüterbories Senior Consultant
PDSOE Workspace Management and Organisation Marko Rüterbories Senior Consultant 2 Unit Testing ABL Applications 3 / Consultingwerk Software Services Ltd. Independent IT consulting organization Focusing
More informationChapter 1 Getting Started
Chapter 1 Getting Started The C# class Just like all object oriented programming languages, C# supports the concept of a class. A class is a little like a data structure in that it aggregates different
More informationNavigating the User Interface
Navigating the User Interface CHAPTER 1 If you re new to the AutoCAD Civil 3D software environment, then your first experience has probably been a lot like staring at the instrument panel of an airplane.
More informationDevelopers Road Map to ArcGIS Desktop and ArcGIS Engine
Developers Road Map to ArcGIS Desktop and ArcGIS Engine Core ArcObjects Desktop Team ESRI Developer Summit 2008 1 Agenda Dev Summit ArcGIS Developer Opportunities Desktop 9.3 SDK Engine 9.3 SDK Explorer
More informationTech-Talk Using the PATROL Agent COM Server August 1999 Authored By: Eric Anderson
Tech-Talk Using the PATROL Agent COM Server August 1999 Authored By: Eric Anderson Introduction Among the many new features of PATROL version 3.3, is support for Microsoft s Component Object Model (COM).
More informationTop Productivity Tips for AutoCAD 2009
Top Productivity Tips for AutoCAD 2009 Jonathan Christie Course Summary: Find out how to apply new and existing AutoCAD power tools and watch your drafting productivity improve. Learn how to re-use design
More informationManual for the ProBase POS Product Installer (Installing OPOS, JavaPOS, POS for.net, UDM, LoadUtil)
Manual for the ProBase POS Product Installer (Installing OPOS, JavaPOS, POS for.net, UDM, LoadUtil) Table of Contents 1 Introduction... 2 2 Installation... 3 2.1 Pre-Requisites... 3 2.2 Interactive Installation...
More informationFast Content for AutoCAD MEP 2015
David Butts Gannett Fleming MP6393 AutoCAD MEP 2015 software, a world-class design and drafting application, is the Zen master of mechanical, electrical, and plumbing design software. The software continues
More informationA Tutorial on using Code::Blocks with Catalina 3.0.3
A Tutorial on using Code::Blocks with Catalina 3.0.3 BASIC CONCEPTS...2 PREREQUISITES...2 INSTALLING AND CONFIGURING CODE::BLOCKS...3 STEP 1 EXTRACT THE COMPONENTS...3 STEP 2 INSTALL CODE::BLOCKS...3 Windows
More informationEMCO MSI Package Builder Enterprise 7. Copyright EMCO. All rights reserved.
EMCO MSI Package Builder Enterprise 7 Copyright 2001-2017 EMCO. All rights reserved. Company web site: emcosoftware.com Support e-mail: support@emcosoftware.com Table of Contents Chapter... 1: Introduction
More informationAccessing the Internet
Accessing the Internet In This Chapter 23 You can use AutoCAD to access and store AutoCAD drawings and related files on the Internet. This chapter assumes familiarity with basic Internet terminology. You
More informationBest Practices for Loading Autodesk Inventor Data into Autodesk Vault
AUTODESK INVENTOR WHITE PAPER Best Practices for Loading Autodesk Inventor Data into Autodesk Vault The most important item to address during the implementation of Autodesk Vault software is the cleaning
More informationAutoCAD 2009 User InterfaceChapter1:
AutoCAD 2009 User InterfaceChapter1: Chapter 1 The AutoCAD 2009 interface has been enhanced to make AutoCAD even easier to use, while making as much screen space available as possible. In this chapter,
More informationCopyright. Trademarks Attachmate Corporation. All rights reserved. USA Patents Pending. WRQ ReflectionVisual Basic User Guide
PROGRAMMING WITH REFLECTION: VISUAL BASIC USER GUIDE WINDOWS XP WINDOWS 2000 WINDOWS SERVER 2003 WINDOWS 2000 SERVER WINDOWS TERMINAL SERVER CITRIX METAFRAME CITRIX METRAFRAME XP ENGLISH Copyright 1994-2006
More informationHow to Create a MindManager Add-in With Visual Studio in 7 Steps
How to Create a MindManager Add-in With Visual Studio in 7 Steps Prerequisites: MindManager 7, 8 or 9 installed Visual Studio 2005, 2008 or 2010 installed Step One The first thing to do is download this
More informationSubdivide and Conquer! - Tips and Tricks for Working with Parcels in Autodesk Civil 3D.
11/28/2005-1:00 pm - 2:30 pm Room:Swan 9/10 (Swan) Walt Disney World Swan and Dolphin Resort Orlando, Florida Subdivide and Conquer! - Tips and Tricks for Working with Parcels in Autodesk Civil 3D. Marissa
More informationTo change the shape of a floating toolbar
Modifying toolbars You can change the size of toolbar buttons and reposition, add, or delete toolbar buttons. You can also change the toolbar name and turn tooltips on and off. An important item to note-
More informationSummer Cart Synchronization Guide for.net
Summer Cart Synchronization Guide for.net Page 1 of 21 Introduction This guide explains how you can synchronize the data from your data management software with your Summer Cart-based web store. In the
More informationPROGRAMATICALLY STARTING AND STOPPING AN SAP XMII UDS EXECUTABLE INSTANCE
SDN Contribution PROGRAMATICALLY STARTING AND STOPPING AN SAP XMII UDS EXECUTABLE INSTANCE Summary Some data sources run as executable programs which is true of most SCADA packages. In order for an SAP
More informationLabWindows /CVI Release Notes Version 8.0.1
LabWindows /CVI Release Notes Version 8.0.1 Contents These release notes introduce LabWindows /CVI 8.0.1. Refer to this document for system requirements, installation and activation instructions, and information
More informationA set of annotation templates that maybe used to label objects using information input in the data model mentioned above.
AUTOCAD MAP 3D 2009 WHITE PAPER Industry Toolkits Introduction In today s world, passing of information between organizations is an integral part of many processes. With this comes complexity in a company
More information