Exporting 3D Geometry in 2D View

Exporting 3D Geometry in 2D View

Anonymous
Not applicable
626 Views
1 Reply
Message 1 of 2

Exporting 3D Geometry in 2D View

Anonymous
Not applicable

Hello everyone,

I am trying to export the model geometry. As I understand so far, the export of 3D geometry is possible only in 3D View through API. Is there any way to get geometry of an element as 3D even if active view is not 3D View to export it in another 3D Modeling Format? 

Thank you all



0 Likes
627 Views
1 Reply
Reply (1)
Message 2 of 2

jeremytammik
Autodesk
Autodesk

Dear Semi,

 

The easiest way to export 3D geometry from a Revit model is to make use of the custom exporter framework:

 

https://thebuildingcoder.typepad.com/blog/about-the-author.html#5.1

 

The custom export of 3D geometry does indeed require a 3D view.

 

However, it does not have to be the current view.

 

You can either use a suitable existing 3D view or create a new one, all without activating it.

 

By the way, note that the custom exporter now also supports export of 2D geometry from Revit 2020 onwards:

 

https://thebuildingcoder.typepad.com/blog/2019/04/whats-new-in-the-revit-2020-api.html#4.2.16.1

 

Best regards,

 

Jeremy

 

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes