We think you have liked this presentation. If you wish to download it, please recommend it to your friends in any social system. Share buttons are a little bit lower. Thank you!
Presentation is loading. Please wait.
Published byJalynn Timperley
Modified over 2 years ago
© 2012 Autodesk Autodesk AEC DevCamp 2012 Geometry API in Autodesk Revit® 2013 Scott Conover Software Development Manager, Revit API & Interoperability
© 2012 Autodesk About this course Two sections Geometry extraction fundamentals Tools For more details: developers guide wikidevelopers guide wiki Samples – provided as course material
© 2012 Autodesk Learning Objectives At the end of this class, you will be able to: Extract and analyze the geometry of existing Revit elements Create and manipulate temporary curve and solid geometry Find elements by 3D intersection Find elements by ray projection and filtering Apply an ExtrusionAnalyzer to geometry Utilize parts to analyze geometry of HostObjects and their layers Extract and analyze the boundary geometry of rooms and spaces Analyze the geometry of point clouds
© 2012 Autodesk Geometry extraction in the Revit API
© 2012 Autodesk Geometry extraction Element.Geometry 3D model elements System family instances (walls, floors and roofs) Family instances (doors, windows, furniture, or masses) Returns GeometryElement containing:
© 2012 Autodesk Curves A path in 2 or 3 dimensions in the Revit model May represent the elements geometry (e.g. CurveElement) May represent a single piece of the geometry of an element (e.g. centerline of a wall or duct) Curves and collections of curves used as inputs in many places Consult wiki for curve types, analysis and mathematical representations
© 2012 Autodesk CurveLoop Specific chain of curves joined end-to-end Used as an output for some element boundary properties Used as input to several geometry and element creation routines Can be closed or open loop Create using: CurveLoop.Create() CurveLoop.CreateViaCopy() CurveLoop.CreateViaThicken()
© 2012 Autodesk Solids, faces and edges Solid Collection of faces and edges Typically full volumes A shell (partially bounded volume) can be encountered Sometimes Revit geometry has unused solids Face Mathematical function of u and v parameters in 3D space Consult wiki for face types, analysis and mathematical representations Edge Boundary curve of one or 2 adjacent faces Use parameters to analyze or convert to curve: Edge.AsCurve() Edge.AsCurveFollowingFace() functions.
© 2012 Autodesk Solid and face creation GeometryElement.GetTransformed() Copies an existing element geometry to a new location/orientation GeometryCreationUtilities Extrusion Revolution Sweep Blend SweptBlend Uses for created solid Display it (analysis visualization framework) Analyze it (volume, area, centroid calculations) Intersect it (element intersection filters) Combine it (boolean operations)
© 2012 Autodesk Boolean operations Combine input solids (add, subtract, intersect) BooleanOperationsUtils class ExecuteBooleanOperation() Copies input solids Produces new solid Inputs can be Revit element solids or temporary geometry ExecuteBooleanOperationModifyingOriginalSolid() Modifies the first solid directly First solid must be modifiable (not a Revit elements geometry)
© 2012 Autodesk Meshes, polylines and points Mesh Collection of triangular boundaries Forms a 3D shape Imported geometry Topography surfaces Results of Face.Triangulate() Polyline Collection of line segments defined by a set of coordinate points Imported geometry Point Represents a visible coordinate in 3D space Mass family elements (ReferencePoint)
© 2012 Autodesk GeometryInstances A set of geometry stored by Revit in a default configuration Transformed into the proper location as a result of the properties of the element Encountered in many Family instances (but not all)
© 2012 Autodesk GeometryInstances Different ways to parse GetSymbolGeometry() (no transform) – returns Revit geometry of the symbol Separate Transform property is also available GetSymbolGeometry (Transform) or GetInstanceGeometry (with or without Transform) – returns copy of Revit geometry For some cases (dimensioning, element referencing), use the Symbol Geometry to get a proper reference (and analyze the geometry via transform if needed)
© 2012 Autodesk Geometry tools in the Revit API
© 2012 Autodesk 2012 geometry tools Temporary solid geometry (already described) Boolean operations (already described) Element intersection filters Extrusion analysis Element.GetGeneratingElementIds CompoundStructure & HostObject utilities Parts Room & space geometry Energy analytical model Point cloud analysis
© 2012 Autodesk 2013 geometry API tools and changes ReferenceIntersector Split volumes Solid tessellation CylindricalHelix curve type GeometryElement as IEnumerable CurveLoop as IEnumerable
© 2012 Autodesk Element intersection filters ElementIntersectsElementFilter Passes elements by 3D geometry intersection Determined with same logic used by Revit for Interference Reports Some combinations of elements will never pass this filter Joined elements Non-solid elements (rebar) ElementIntersectsSolidFilter Passes elements intersecting any solid Solid obtained from anywhere including created from scratch or Boolean operation Passing elements must have solid geometry
© 2012 Autodesk Element intersection filters Using filters to check volume of access around doors Create solids around volume Highlight volumes with Analysis Visualization
© 2012 Autodesk ReferenceIntersector (2013) Ray-casts to find elements using a point and direction Target: Element, Face, Edge, Mesh or Curve ElementFilter or specific element Find() or FindNearest() Note issue with FindNearest() if no results will be found – fix in 2013 update release 1
© 2012 Autodesk ExtrusionAnalyzer Fits geometry into extruded profile Inputs: Solid geometry Plane Direction Results: Base profile Face alignment Example: Revits IFC exporter (available on Open Source) Open Source
© 2012 Autodesk Element.GetGeneratingElementIds Examines relationships among elements Window and door cutting walls Openings cutting hosts Face splitting faces Wall sweep or reveal traversing wall Walls joining to other wall(s) Elements extending to roof(s) More than one id may be returned
© 2012 Autodesk CompoundStructure & HostObject utilities HostObject Walls, floors, ceilings and roofs CompoundStructure Read/write layers Vertically compound layers Offset to location lines (finish face, core boundaries) Get layer widths HostObjectUtils GetSideFaces() – walls GetTopFaces()/GetBottomFaces() – floors, roofs, ceilings
© 2012 Autodesk Parts Construction modeling tool Divide HostObject elements from the design intent model by layer Further subdivisions possible By layer By grid By sketched curve Parts update with changes to their source elements PartUtils CreateParts() DivideParts() GetAssociatedParts()
© 2012 Autodesk Parts as a geometric analysis tool Easy access to the geometry of each of the layers of materials within a compound object East access to split resultant geometry by grid or layer Use temporary changes to extract information and then restore original model
© 2012 Autodesk Room & space geometry SpatialElementGeometryCalculator 3D geometry volume of room or space Relationships between the geometry and the boundary elements 2 options: SpatialElementBoundaryLocation –finish faces or boundary element centerlines for calculation StoredFreeBoundaryFaces – whether to include faces which dont map directly to a boundary element Results: SpatialElementGeometryResults The Solid volume representing the geometry (GetGeometry() method) The boundary face information (a collection SpatialElementBoundarySubfaces)
© 2012 Autodesk Room & space geometry Subfaces The face of the spatial element & the matching face of the boundary element Subface type (bottom, top, or side) Notes: Use same calculator for multiple elements Bottom faces (floors) never have boundary elements Openings are not included Geometry matches what Revit uses for boundary calculations
© 2012 Autodesk Energy analytical model Export to gbXML/ Heating and Cooling Loads features Analytical thermal model Spaces, zones and surfaces EnergyAnalysisDetailModel.Create() Options Level of computation (NotComputed, FirstLevelBoundaries, SecondLevelBoundaries, Final) Whether mullions should be exported as shading surfaces Whether shading surfaces will be included Whether to simplify curtain systems Same result as export to gbXML Example: Revits IFC exporter (available on Open Source)Open Source
© 2012 Autodesk Point cloud analysis Accessing Points in a Point Cloud PointCloudInstance.GetPoints(PointCloudFilter filter, int numPoints) Iterate the resulting points directly from the PointCollection return using the IEnumerable interface Get a pointer to the point storage of the collection and access the points directly in memory in an unsafe interface (C# or C++/CLI) Filters (PointCloudFilter) Limit the volume which is searched when reading points Govern the display of point clouds A collection of planar boundaries Checks if point is located on the positive side of each input plane Volume formed by a combination of planes
© 2012 Autodesk Point cloud analysis Filters used to affect display PointCloudInstance.SetSelectionFilter() PointCloudInstance.FilterAction None Highlight Isolate Example: visual representation of how well a given element aligns with points in the point cloud
© 2012 Autodesk Conclusions
© 2012 Autodesk Learning Objectives You have learned how to: Extract and analyze the geometry of existing Revit elements Create and manipulate temporary curve and solid geometry Find elements by 3D intersection Apply an ExtrusionAnalyzer to geometry Utilize parts to analyze geometry of HostObjects and their layers Extract and analyze the boundary geometry of rooms and spaces Analyze the geometry of point clouds
© 2012 Autodesk Caveats Keep edge cases in mind Possible for users to model situations which dont mesh well with the tools and might result in failure situations Samples do not cover these situations are not handled robustly Consider how robust solution should be: are there situations where it should or should not produce valid results?
© 2012 Autodesk Autodesk, AutoCAD, Civil 3D, DWG, Green Building Studio, Navisworks, and Revit 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.
Analyzing Building Geometry using the Revit API Scott Conover Software Development Manager, Revit API Image courtesy of Hobart, Yañez, Ramos, Maguey,
© 2012 Autodesk Autodesk® Revit® Structure: From Design to Detailing and Fabrication to Construction Allen Levy Applications Specialist.
© 2011 Autodesk Shop Drawings in Autodesk® Revit®. What? It can Do That? Ron Palma Application Specialist.
© 2012 Autodesk Autodesk Structural Curriculum 2011 Unit 6: Construction Documents and Details Construction Documents and Details.
© 2012 Autodesk Quality Control for Autodesk ® Revit ® MEP Models R. Robert Bell Design Technology Manager, Sparling.
© 2012 Autodesk Customizing AutoCAD P&ID David Wolfe Process and Power Specialist.
© 2011 Autodesk Living the Dream: How to Automate Common Workflows and Tasks for Mechanical Engineers Plamen Hristov Virtual Design Manager.
© 2012 Autodesk Autodesk ® Navisworks ® 2013 What’s New Presenter Name Presenter Title.
© 2010 Autodesk Autodesk BIM Curriculum 2011 Unit 1: BIM Modeling Basics Lesson 6: Views and Visualization Lesson Overview Summary In this lesson, students.
© 2012 Autodesk Autodesk® Revit® MEP: Project Startup Survival Kit Derek P. Renn AEC Technical Manager, Kelar Pacific.
© 2012 Autodesk Effective Collaboration Techniques for the Architect & Construction Engineer Using Copy Monitor in Autodesk Revit Jason Jones PES Structural.
© 2012 Autodesk Autodesk Structural Curriculum 2013 Unit 3: Modeling for Building Structures Building Information Modeling.
© 2012 Autodesk Concrete Modeling Using Revit Structure Shruti Harve Senior Application Specialist, Ideate,Inc.
BIMteriors: Autodesk ® Revit ® Architecture for Commercial Interior Design John R. Ade, AIA Senior Applications Specialist Applied Software.
© 2012 Autodesk Precast Concrete Industry Extensions for Autodesk® Revit® Structure 2013 Lackner Reinhard General Manager, IDAT.
© 2011 Autodesk Autodesk® Revit® MEP: Project Startup Survival Kit Derek P. Renn AEC Technical Manager, Kelar Pacific.
© 2012 Autodesk AB6069-V A Few Million Points: Scan to BIM Beau Turner Product Director.
Learning Objectives Understand the concept of massing in Autodesk Revit Architecture. Create massing geometries using the Massing tool. Cut massing geometries.
© 2012 Autodesk Autodesk Structural Curriculum 2013 Unit 5: Advanced Structural Analysis & Coordination Advanced Structural Analysis & Coordination.
© 2014 Autodesk What’s New in Autodesk ® Advance Steel 2015 Presenter Name Presenter Title.
© 2011 Autodesk AC5089: Mesh Modeling in AutoCAD® Dave Young Application Engineer – Repro Products.
Incorporating Engineering into Autodesk® Revit® Structure: Project Procedures Desirée Mackey, PE Structural Engineer, Martin/Martin.
© 2011 Autodesk Autodesk ® Revit ® MEP Content Creation Lab MP5076-L Ryan Tivis CAD/Model Manager – Ring & DuChateau Dennis Hopper CAD/BIM Manager – GE.
Roofs and Ceilings Revit® Architecture C H A P T E R OBJECTIVES Learn how to place a Roof by Footprint. Learn how to make a wall meet a roof. Learn.
© 2011 Autodesk Navigating Through the Corridor using AutoCAD® Civil 3D®.NET API Augusto Goncalves Senior Developer Consultant at Autodesk.
Rockin’ Hot Revit MEP 2011 Tips David Butts BIM Analyst – MEP – Gannet Fleming Image courtesy of Hobart, Yañez, Ramos, Maguey, and Martínez.
© 2012 Autodesk Autodesk® Revit® Families: The Basics AB6893-L Frank Sheiakh Revit Specialist, Bimit AB.
Chapter 7 Advanced Part Modeling Techniques. After completing this chapter, you will be able to perform the following: –Extrude an open profile –Create.
© 2012 Autodesk Learning to Design Connections in Autodesk® Revit® Structure with SDS/2 Connect David Zabka Customer Support Specialist.
Learning Objectives Add various components to a building model. Create stairs using the Stairs tool. Add railings to various locations in a project using.
© 2012 Autodesk SE2070 Unlimited Round-Tripping with the RISA-Revit® Link Matt Brown, P.E. RISA Technologies.
© 2011 Autodesk Capitalize on Corridor Improvements in AutoCAD ® Civil 3D ® Don Quinn Civil Engineer / Eagle Point Product Specialist.
© 2011 Autodesk Autodesk® Revit® MEP: Fast Families for Engineers David Butts BIM Specialist – Gannett Fleming.
Using Autodesk® Revit® Structure in Investigative Engineering Desirée Mackey, PE Structural Engineer / BIM Manager, Martin/Martin Brian Mackey BD Mackey.
© 2012 Autodesk Mass Lab: Building Masses So They Don't Blow Up Kelly Cone, Marcello Sgambelluri AB3074L.
Introduction to BIM Module 02 – Building Envelope.
© 2011 Autodesk Creating Custom Storm Inlets Using Part Builder Eric Chappell Author, Consultant, CAD Manager.
© 2012 Autodesk Autodesk® Revit® MEP Templates: Increasing Productivity Plamen Hristov Director of Design Technology Capital Engineering Consultants, Inc.
© 2012 Autodesk Structural Workflows for Autodesk ® Plant Design Suite Projects Abraham Koenig Technical Specialists Manager AEC/ENI Central Europe Alexandre.
© 2012 Autodesk Autodesk Structural Curriculum 2013 Unit 2: User Interface Autodesk® Revit® Structure Software User Interface.
© 2012 Autodesk Hidden Survey Gems: Using the COGO Editor and Mapcheck Analysis Tools and the New Survey Tools in AutoCAD® Civil 3D® 2013 Shawn Herring.
© 2012 Autodesk AB1851 Optimizing the Design Development Stage using Revit Architecture Douglas Bowers, AIA, LEED AP BD+C Doug Bowers Consulting, LLC.
Chapter 3 Creating and Editing Sketched Features.
© 2012 Autodesk No More Photo-CAD: Using an AutoCAD® Architecture Template with Autodesk® Impression for Presentations Dustin Fike, AIA Senior Associate.
© 2012 Autodesk Intersections from the Inside Out: A Different Workflow for AutoCAD® Civil 3D® Steve Boon AScT McElhanney Consulting Services Ltd.
© 2011 Autodesk CI4678 Tunnel design using AutoCAD ® Civil 3D ® Tomáš Lendvorský AEC Solution Engineer - CHS Countries Roland Klement AEC Solution Engineer.
© 2011 Autodesk AutoCAD LT ® 2012 Whats New. © 2011 Autodesk AutoCAD LT 2012 | Experience Productivity With AutoCAD LT ® 2012 software, incremental improvements.
Join us on Twitter: #AU2014. Class summary text goes here Class summary.
© 2012 Autodesk The Picture Says It All: Commercial Site Plan 3D Visualizations Using Autodesk® IDS John Sayre Civil Application Engineer.
© 2017 SlidePlayer.com Inc. All rights reserved.