© 2012 Autodesk AutoCAD® API.NET Tips and Tricks James E. Johnson Application Developer for Synergis Software
© 2012 Autodesk CP2761-R AutoCAD® API.NET Tips and Tricks In this roundtable session, we will cover and share tips and tricks for developing AutoCAD software add-ins using.NET. We hope you will find them helpful for your next project. Any samples discussed in the session will be shared and done in both VB.NET and C# whenever applicable or possible.
© 2012 Autodesk Discussion topics: Describe different ways to select objects from selection sets to stepping through the drawing database. Use different Microsoft® Visual Studio® features to speed up development Manage drawings and entities, opening drawings, adding/deleting entities, and adding references Describe new features from the latest version of AutoCAD.NET API
© 2012 Autodesk Describe different ways to select objects from selection sets to stepping through the drawing database. Selection Sets with selection set filters Database selection iterating through entire database objects Use LINQ queries
© 2012 Autodesk Use different Microsoft® Visual Studio® features to speed up development Use snippets Reference precompiled DLL libraries Use LINQ queries Use Extension methods
© 2012 Autodesk Manage drawings and entities, opening drawings, adding/deleting entities, and adding references Using transactions and when to Lock the document Working with Dictionaries and symbol tables RXobject for working with database objects ReadDwgFile for open and Insert
© 2012 Autodesk Describe new features from the latest version of AutoCAD.NET API. Using LINQ Using DLR (dynamic type)
© 2012 Autodesk Thanks for Attending…
© 2012 Autodesk Autodesk, AutoCAD* [*if/when mentioned in the pertinent material, followed by an alphabetical list of all other trademarks mentioned in the material] are registered trademarks or trademarks of Autodesk, Inc., and/or its subsidiaries and/or affiliates in the USA and/or other countries. All other brand names, product names, or trademarks belong to their respective holders. Autodesk reserves the right to alter product and services offerings, and specifications and pricing at any time without notice, and is not responsible for typographical or graphical errors that may appear in this document. © 2012 Autodesk, Inc. All rights reserved.