© 2011 Autodesk Navigating Through the Corridor using AutoCAD® Civil 3D®.NET API Augusto Goncalves Senior Developer Consultant at Autodesk.

Slides:



Advertisements
Similar presentations
Construction Documents and Details
Advertisements

© 2012 Autodesk Using Subassembly Composer on the Highway A4 Construction Project Jordy Brouwers Geonius.
© 2011 Autodesk Capitalize on Corridor Improvements in AutoCAD ® Civil 3D ® Don Quinn Civil Engineer / Eagle Point Product Specialist.
Advanced Superelevation Roadway Design Using Non-Center Axis of Rotations Karen Dowling Senior QA Analyst .com.
Understanding the Alignments and Profiles API in AutoCAD® Civil 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 Shop Drawings in Autodesk® Revit®. What? It can Do That? Ron Palma Application Specialist.
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.
© 2011 Autodesk CP5239 Demand-Loading AutoCAD®.NET Plug-ins James E. Johnson Synergis Software Sr. CAD Developer.
© 2012 Autodesk Autodesk® Revit® Structure: From Design to Detailing and Fabrication to Construction Allen Levy Applications Specialist.
© 2012 Autodesk CI4820-V Feeling the Lay of the Land: Civil 3D and 3ds MAX Design for Landscape Architecture Robert Ward Landscape Architect LEED AP.
© 2012 Autodesk Efficient Pipe Design C14785-V Bryan Thomasy CAD Manager.
© 2011 Autodesk Making Dirt Look Good: Autodesk ® Civil View Kristina Bollin Technical Specialist, U.S. CAD.
© 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 LF BIM in Manufacturing Crossing the Wall Between Product and Building Workflows Tim Bourdois Aluminum Curtainwall Systems / Netwise.
© 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.
CI4678 Tunnel design using AutoCAD ® Civil 3D ®
That Dam Corridor: AutoCAD® Civil 3D® Modeling for New and Rehab Dam Projects Yates Austin Schnabel Engineering Dana Probert Autodesk.
© 2011 Autodesk Popular Design Patterns and How to Implement Them in.NET Gopinath Taget Senior Developer Consultant.
© 2011 Autodesk Automotive Surfacing Techniques with Autodesk ® Alias ® Surface Nils Kremser Major Accounts Automotive - Subject Matter Expert.
© 2011 Autodesk Managing Your Standards and Reusable Content with AutoCAD Tool Palettes – Revealed! Matt Murphy Director of Content Management and Development.
© 2011 Autodesk SE4247 – Modelling for Construction Ralph Pullinger Structural Technical Specialist, Autodesk, AEC Division (Northern Europe)
© 2012 Autodesk AutoCAD® API.NET Tips and Tricks James E. Johnson Application Developer for Synergis Software.
© 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.
© 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 Parametrics Master Class Martin Duke Business Systems 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.
© 2011 Autodesk CI6401-P - Corridor Deconstruction Peter Funk Autodesk, Inc.
© 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 Creating Custom Storm Inlets Using Part Builder Eric Chappell Author, Consultant, CAD Manager.
© 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.
© 2011 Autodesk The Suite Life of AutoCAD® Guillermo Melantoni Sr Product Manager: Workflows and Interoperability at Autodesk.
© 2012 Autodesk Autodesk® Civil 3D® 3D Studio Max Design®: Civil View For All Vincent Sheehan Sr. Designer, Timmons Group.
© 2012 Autodesk SM3595-R | Thinking of Design, Engineering, and Simulation Differently! Luke Mihelcic Product Marketing Manager | ISM – Simulation Industry.
© 2011 Autodesk Customizing AutoCAD ® Plant 3D Isometrics Joel HarrisIan Matthew Piping Technology Specialist, Anvil Corp.Technical Marketing Manager,
© 2012 Autodesk Pressure Pipe Networks in AutoCAD ® Civil 3D ® 2013 Matthew Anderson Technical Consultant, Autodesk Jim Paquette Software Development Manager.
© 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.
© 2012 Autodesk Intersections from the Inside Out: A Different Workflow for AutoCAD® Civil 3D® Steve Boon AScT McElhanney Consulting Services Ltd.
The Point For Coordination Module 1: Setting The Survey Point
Managing the Construction Administration Phase in Autodesk® Revit®
Civil 3D®: An All Around Geospatial Software Package
Water! Water! Quenching Your Thirst for Water in AutoCAD® Civil 3D®
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.
AB6105-V: Autodesk® Revit® Reality Check for Residential Construction
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:

© 2011 Autodesk Navigating Through the Corridor using AutoCAD® Civil 3D®.NET API Augusto Goncalves Senior Developer Consultant at Autodesk

© 2011 Autodesk Class Summary Corridor is one of the most complex objects in the AutoCAD Civil 3D family of objects. Working on a corridor object requires a clear understanding of its constituent components and their behavior. This class will give you an overview of corridor and associated objects and highlight how to access and extract useful details using the AutoCAD Civil 3D.NET API.

© 2011 Autodesk Learning Objectives At the end of this class, you will be able to:  Understand the data model of corridors on Civil 3D®  Be able to create a new.NET project to read Civil 3D® corridor information  Generate a simple Excel®-based Corridor report using the API

© 2011 Autodesk Agenda 1 Overview Corridor overview on Civil 3D 2 Data model Which API objects hold the information we want 3 How create a.NET plug-in Create a plug-in using the.NET API 4 Generate a Excel report An applicable sample exporting data to Excel 5 Further reading Extra topics to keep learning

© 2011 Autodesk Corridor Building Blocks Overview

© 2011 Autodesk Corridor Overview  The 3D path of a Corridor is a baseline defined by a Alignment and a Profile.  Along the length of the baselines are a series of Assembly objects which define the cross-sectional shape of the Alignment.  Common points in each Assembly are connected to form feature line.  Together the assemblies and feature lines form the 3D shape of a corridor.

© 2011 Autodesk Corridor Path Horizontal Perspective: Aligment  Creating and defining the horizontal alignment is one of the first steps for Corridor design  Can represent centerlines, lanes, shoulders, right-of-ways, or construction baselines.

© 2011 Autodesk Corridor Path Vertical Perspective: Profile  Used to visualize the terrain along a route of interest.  Can record the elevation of the surface along an alignment.  Represents a record of elevation against distance along a horizontal Alignment or other line.

© 2011 Autodesk Corridor Shape Definition: Assembly  Is the pattern for the cross section of a corridor at a particular station.  Consists of a connected set of subassemblies.  The Corridor can contain a series of applied assemblies (which points to the Assembly)

© 2011 Autodesk Corridor Shape Defintion: Subassembly  The basic building block of a corridor shape design.  Consists of a series of shapes, links, and points.  The applied assemblies of a corridor can contain a series of applied subassemblies (which points to the Subassembly)

© 2011 Autodesk Corridor Data Model

© 2011 Autodesk Data Model Objects Corridor Baseline BaselineRegion AppliedAssembly AppliedSubassembly Assembly Subassembly Alignment Profile

© 2011 Autodesk Pseudo-code sample Sub ListAll() Dim corridor As Corridor For Each baseline In corridor.Baselines For Each baselineRegion In baseline.BaselineRegions For Each appliedAssembly In baselineRegion.AppliedAssemblies For Each appliedSA In appliedAssembly.GetAppliedSubassemblies Next End Sub

© 2011 Autodesk Exploring the Model with Snoop Tool  Download at  Corridor object data model  Subassembly parameters

© 2011 Autodesk Creating a.NET Code

© 2011 Autodesk Start with AutoCAD.NET API  As Civil 3D is based on AutoCAD, we need AutoCAD APIs.  Trainings:  DevTV:

© 2011 Autodesk Visual Basic.NET project for Civil 3D plug-in  Create a new project  Plugin for Civil 3D must be of type Class Library

© 2011 Autodesk Adding reference to Civil 3D  Add references  AutoCAD  AcMdg (Interface resources) Db  AcDbMgd (Database resources)  Civil 3D  AecBaseMgd (AEC base)  AeccDbMgd (Civil3D specific)  IMPORTANT: Set Copy Local as FALSE

© 2011 Autodesk 'show the number of corridors ed.WriteMessage("Document contains {0} corridors", _ civilDoc.Corridors.Count) Imports Autodesk.AutoCAD.Runtime Imports Autodesk.AutoCAD.ApplicationServices Imports Autodesk.AutoCAD.EditorInput Imports Autodesk.Civil.ApplicationServices Basic Civil 3D custom command 1. Regular VB routine 2. AutoCAD & Civil 3D Imports 3. Mark the routine as command 4. Access editor and civil document 5. Show the number of corridors Now just compile, load inside Civil3D with NETLOAD and call countCorridors Public Class Class1 End Class Public Sub countCorridors() End Sub _ 'access AutoCAD Editor Dim ed As Editor = Application.DocumentManager. _ MdiActiveDocument.Editor 'access Civil Document Dim civilDoc As CivilDocument = CivilApplication. _ ActiveDocument

© 2011 Autodesk Applicable Sample

© 2011 Autodesk Creating a Excel®-based Corridor Report  List all subassemblies  Order by station and by offset (left, center, right)  Export to Microsoft® Excel®

© 2011 Autodesk Further Reading

© 2011 Autodesk Other classes  CP4321: Understanding the Alignments and Profiles API in AutoCAD® Civil 3D®

© 2011 Autodesk Additional Resources (Civil 3D®) Civilized Development blog  Discussion Groups  Civil 3D Developer Center 

© 2011 Autodesk Additional Resources (AutoCAD) Through the Interface blog  AutoCAD.NET Developer’s Guide  Discussion Groups  Autodesk Developer Network 

© 2011 Autodesk Thank you!

© 2011 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. © 2011 Autodesk, Inc. All rights reserved.