© 2012 Autodesk Using.NET in the Land of NOD James E. Johnson Application Developer for Synergis Software.

Slides:



Advertisements
Similar presentations
Construction Documents and Details
Advertisements

© 2011 Autodesk Capitalize on Corridor Improvements in AutoCAD ® Civil 3D ® Don Quinn Civil Engineer / Eagle Point Product Specialist.
© 2011 Autodesk Charging on from Schematics to Panels in AutoCAD ® Electrical (MA4757-L) Todd Schmoock Solutions Engineer - Synergis Technologies, Inc.
© 2010 Autodesk Autodesk Structural Curriculum 2013 Unit 1: Introduction to Structural BIM Building Information Modeling.
PD How to setup a perfect project for AutoCAD P&ID and Plant 3D
© 2012 Autodesk Conceptual and Design Workflows Using Autodesk ® 360 Integrated Applications Anirban Ghosh Principal User Experience Designer – DLS Mobile.
© 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features.
© 2011 Autodesk Autodesk® Revit® MEP: Fast Families for Engineers David Butts BIM Specialist – Gannett Fleming.
© 2011 Autodesk Shop Drawings in Autodesk® Revit®. What? It can Do That? Ron Palma Application Specialist.
© 2011 Autodesk CP Leveraging ActiveX® Libraries with AutoLISP® Lee Ambrosius – Autodesk, Inc. Sr. Technical Writer – PSEB User Assistance.
Scripting Components for AutoCAD Plant 3D
© 2012 Autodesk CI 3907: AIM to Please with Your Transportation Project - Part 1 Alan Gilbert, PE, LSI & Wes Newman Autodesk Transportation Technical Specialists.
© 2012 Autodesk Do More With Less ETO API’s Ishwar Nagwani Technical Consultant.
© 2011 Autodesk CI3222 – Surveying and Base Mapping Standards and Practices Dino Lustri, P.E., P.S. Civil Engineering, Surveying & Mapping Consultant.
© 2011 Autodesk CP5239 Demand-Loading AutoCAD®.NET Plug-ins James E. Johnson Synergis Software Sr. CAD Developer.
© 2012 Autodesk Autodesk 360 Jerry Campbell VDC Consultant.
© 2012 Autodesk AutoCAD ® Virtualized and Digitized michael trachtenberg - AE BackOffice Software Director.
© 2012 Autodesk BIM on an Etch a Sketch Jose Guia Janitor extraordinaire
© 2012 Autodesk Project Architect-Times-a-Changing: How to transition from yesterday to today Christopher Ozog Project Architect.
© 2012 Autodesk AutoCAD on Electrical Steroids Randy Brunette Electrical Subject Matter Expert (Autodesk)
© 2012 Autodesk Matthew Stuver, LEED AP BD+C BIM Manager Dynamix Engineering Ltd. MP1425-R: AU2012 AutoCAD® Revit® MEP Family Reunion.
© 2012 Autodesk How to Get the Most from Integrated Project Delivery (IPD) David J. Patera Team Project Manager & VDC Coordinator.
© 2012 Autodesk Autodesk Structural Curriculum 2013 Unit 2: User Interface Autodesk® Revit® Structure Software User Interface.
© 2011 Autodesk Converting Existing Piping Specs Ian Matthew Technical Marketing Manager, Autodesk.
© 2012 Autodesk AutoCAD® API.NET Tips and Tricks James E. Johnson Application Developer for Synergis Software.
© 2012 Autodesk Rolling Your Own: Building Apps in Autodesk® PLM 360 Joseph Piggee Trung Nguyen.
© 2012 Autodesk From Nothing to Something using AutoCAD ® Electrical Todd Schmoock Solutions Engineer - Synergis Technologies, Inc.
© 2012 Autodesk Adding Instrumentation and Electrical Capabilities to Autodesk® Plant Design Suite Andy Bonfield.
© 2012 Autodesk Autodesk® Revit® MEP: Get Current with Electrical Engineering Module 1 – Dual Circuiting Seth Mathis Schmidt Associates BIM Designer.
© 2011 Autodesk Importing the Most Useful Data Into Survey in AutoCAD Civil 3D 2012 Russ Nicloy Civil Applications Engineer.
© 2011 Autodesk Rain in the Plain: An Introduction to Autodesk® Storm and Sanitary Analysis Matthew Anderson, PE CFM QA Consultant – Autodesk. Inc. Lab.
© 2011 Autodesk Autodesk® Revit® MEP: Not Enough Content - What is the Problem Again? Plamen Hristov Virtual Design Manager.
© 2012 Autodesk Going for the Gold with Data Management AB6022-V Adam Peter Customer Success Engineer.
Join us on Twitter: #AU2014. Class summary text goes here Class summary.
© 2011 Autodesk Optimizing Digital Drawing Files and BIM Models for Measurement and Estimating Simon Lovegrove MRICS, AAIQS Director, Exactal.
© 2012 Autodesk Sweet Suite Collaboration Module 1: Suite Interoperability Veronica Lamb Technical Specialist, US CAD of Hawaii.
© 2012 Autodesk Customizing AutoCAD P&ID David Wolfe Process and Power Specialist.
© 2011 Autodesk FDO 2.0: The Magic Grows Gary Rosen Regional Sales Director – Carlson Software.
Join us on Twitter: #AU2013.  An appropriate image has been provided for your presentation based on the AU look and feel  You can replace the Title.
© 2011 Autodesk AC2182 P - Autodesk 3ds Max for Starters Create Stunning Renderings For All Situations Christopher Fernandez Senior Applications Specialist,
© 2012 Autodesk The Picture Says It All: Commercial Site Plan 3D Visualizations Using Autodesk® IDS John Sayre Civil Application Engineer.
© 2012 Autodesk Autodesk Structural Curriculum 2013 Unit 3: Modeling for Building Structures Building Information Modeling.
© 2011 Autodesk The Suite Life of AutoCAD® Guillermo Melantoni Sr Product Manager: Workflows and Interoperability at Autodesk.
© 2012 Autodesk SM3595-R | Thinking of Design, Engineering, and Simulation Differently! Luke Mihelcic Product Marketing Manager | ISM – Simulation Industry.
© 2012 Autodesk Collaboration Systems – It’s good to share Martin Duke Business Systems Manager.
© 2011 Autodesk Customizing AutoCAD ® Plant 3D Isometrics Joel HarrisIan Matthew Piping Technology Specialist, Anvil Corp.Technical Marketing Manager,
© 2011 Autodesk Painless Productivity Programming with the AutoCAD Action Recorder – Revealed! Matt Murphy Director of Content Management and Development.
© 2012 Autodesk PL Autodesk ® PLM 360 for the AEC Space Klaus Lörincz PLM Product Manger Autodesk Frank Schley Development & Pilot Projects Ed. Züblin.
© 2011 Autodesk Publish Autodesk® Inventor® Building Components for Consumption in AutoCAD® MEP and Revit® MEP Jay Ayala Solutions Engineer.
© 2012 Autodesk From CAD to Awesome: AutoCAD® and Autodesk® SketchBook® Designer Guillermo Melantoni Product Line Manager: Personal Design & Fabrication.
Making Use of Substation Design Models for Project Estimating Trevor Scullion Managing Director, Automationforce inc.
© 2012 Autodesk The new AUGI UGA / UG Handbook Shaun Bryant Director, AUGI Board of Directors.
The Point For Coordination Module 1: Setting The Survey Point
Managing the Construction Administration Phase in Autodesk® Revit®
Water! Water! Quenching Your Thirst for Water in AutoCAD® Civil 3D®
Step it up a Rung from AutoCAD® Designs to AutoCAD® Electrical (MA4762-L) Todd Schmoock Solutions Engineer - Synergis Technologies, Inc.
Autodesk® Revit® Rendering Tips You Can Use
Creating Intelligent Details in Autodesk® Revit®
Check Out These ‘Suite’ Workflows
Using Scripts, AutoLISP® and
Using Quantity Takeoff and Linked Models in Revit to Estimate a Project as the Design Changes Kevin R. Miller, Brigham Young University Scott Davis & TJ.
CM1847 Migrating AutoCAD Standards to Revit
Are Your Buildings Floating in the Air
Autodesk Navisworks: Practical Tips and Tricks from Seven Years in the Construction Industry Josh Lowe Project Lead, TURIS Systems.
BIM for Interiors: Making Autodesk® Revit® Work for You
MP1483 Massing and using Architecture Models for Revit MEP 2013 Analysis Simon Whitbread Application Specialist.
The Family Lab Harlan Brumm Product Support Technical Lead.
Using Quantity Takeoff and Linked Models in Revit to Estimate a Project as the Design Changes Kevin R. Miller, Brigham Young University Scott Davis & TJ.
Beyond Massing: Conceptual Design in Autodesk® Revit® Architecture 2012 David Fano Partner | CASE Design, Inc |
Presentation transcript:

© 2012 Autodesk Using.NET in the Land of NOD James E. Johnson Application Developer for Synergis Software

© 2012 Autodesk CP Using.NET in the Land of NOD This class is about working with the Named Object Dictionary (NOD) and other dictionaries that can exist in an AutoCAD® software drawing database using.NET applications. We will look at getting and using dictionary keys such as get/add an UnderlayDefinition key for adding DGN, DWF™ and PDF file underlay references to the active document. The Named Object Dictionary can contain other dictionaries like the ACAD_MLINESTYLE and ACAD_MATERIAL dictionaries, of which we will have code samples to show you how to use the data in those and other drawing database dictionaries. You will leave this class with a good understanding and with code samples for working with AutoCAD drawing database dictionaries and know what is typically stored in the Named Object Dictionary.

© 2012 Autodesk Learning Objectives At the end of this class, you will be able to:  Describe what the Named Object Dictionary contains and how to work with those dictionary keys.  Add and get underlay definitions in the Named Object Dictionary.  Work with drawing database dictionaries in a.NET application.  Use XRecords in dictionaries to store application information within a drawing.

© 2012 Autodesk AutoCAD® dictionaries…  In a drawing database a dictionary is a container object which can contain any drawing object or an XRecord.  Dictionaries are stored either in the database under the Named Object Dictionary or as an extension dictionary of a table record or graphical entity.  The named object dictionary is the master table for all of the dictionaries associated with a database.  Unlike symbol tables, new dictionaries can be created and added to the named object dictionary.

© 2012 Autodesk Describe what the Named Object Dictionary contains and how to work with those dictionary keys…  The Named Object Dictionary contains all drawing dictionaries.  Dictionary objects cannot contain drawing entities.  Data is placed for the entire drawing to access.

© 2012 Autodesk Default dictionary keys in the Named Object Dictionary:  ACAD_CIP_PREVIOUS_PRODUCT_INFO  ACAD_COLOR  ACAD_DETAILVIEWSTYLE  ACAD_GROUP  ACAD_LAYOUT  ACAD_MATERIAL  ACAD_MLEADERSTYLE  ACAD_MLINESTYLE  ACAD_PLOTSETTINGS  ACAD_PLOTSTYLENAME  ACAD_SCALELIST  ACAD_SECTIONVIEWSTYLE  ACAD_TABLESTYLE  ACAD_VISUALSTYLE  AcDbVariableDictionary

© 2012 Autodesk Code Samples…

© 2012 Autodesk Named Object Dictionary from AutoLISP: ((-1. ) (0. "DICTIONARY") (330. ) (5. "C") (100. "AcDbDictionary") (280. 0) (281. 1) (3. "ACAD_CIP_PREVIOUS_PRODUCT_INFO") (350. ) (3. "ACAD_COLOR") (350. ) (3. "ACAD_DETAILVIEWSTYLE") (350. ) (3. "ACAD_GROUP") (350. ) (3. "ACAD_LAYOUT") (350. ) (3. "ACAD_MATERIAL") (350. ) (3. "ACAD_MLEADERSTYLE") (350. ) (3. "ACAD_MLINESTYLE") (350. ) (3. "ACAD_PLOTSETTINGS") (350. ) (3. "ACAD_PLOTSTYLENAME") (350. ) (3. "ACAD_SCALELIST") (350. ) (3. "ACAD_SECTIONVIEWSTYLE") (350. ) (3. "ACAD_TABLESTYLE") (350. ) (3. "ACAD_VISUALSTYLE") (350. ) (3. "AcDbVariableDictionary") (350. ))

© 2012 Autodesk Database properties… Several Default dictionary ID’s are available as properties to the database…  HostApplicationServices.WorkingDatabase.LayoutDictionaryId  HostApplicationServices.WorkingDatabase.MaterialDictionaryId  HostApplicationServices.WorkingDatabase.MLeaderStyleDictionaryId  HostApplicationServices.WorkingDatabase.MLStyleDictionaryId  HostApplicationServices.WorkingDatabase.ColorDictionaryId

© 2012 Autodesk Add and get underlay definitions in the Named Object Dictionary…  Underlays are similar to raster images, but their content is snappable.  UnderlayDefinition is an abstract class that handles the linkage to external underlay content.  An UnderlayDefinition object is referenced by zero or more UnderlayReferences.  UnderlayReference class is an abstract class that represents underlays in the drawing.

© 2012 Autodesk Add and get underlay definitions in the Named Object Dictionary... UnderlayDefinition derived classes:  Autodesk.AutoCAD.DatabaseServices.DgnDefinition  Autodesk.AutoCAD.DatabaseServices.DwfDefinition  Autodesk.AutoCAD.DatabaseServices.PdfDefinition  UnderlayReference derived classes:  Autodesk.AutoCAD.DatabaseServices.DgnReference  Autodesk.AutoCAD.DatabaseServices.DwfReference  Autodesk.AutoCAD.DatabaseServices.PdfReference

© 2012 Autodesk Code Samples…

© 2012 Autodesk Work with drawing database dictionaries in a.NET application...  Drawing database dictionaries are accessed with the DBDictionary class which is a database-resident object dictionary.  A DBDictionary maintains a map between text strings and database objects.  An instance of this class represents a single object...  Dictionary names honor the rules for symbol names.  When a dictionary is erased, all the objects within it are erased.  When a dictionary is unerased, all of its contents are unerased.

© 2012 Autodesk Code Samples…

© 2012 Autodesk Use XRecords in dictionaries to store application information within a drawing…  XRecords provide storage for information in AutoCAD entities and dictionaries.  The XRecord class is a data storage class to allow programs a means to store data.  An XRecord object is capable of storing up to 2GB.  An XRecords structure for data input and output is done with a linked list of Resultbuffer structures.

© 2012 Autodesk Code Samples…

© 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.