Announcements
Autodesk Community will be read-only between April 26 and April 27 as we complete essential maintenance. We will remove this banner once completed. Thanks for your understanding

Simplify elements geometry

skabart1993
Explorer

Simplify elements geometry

skabart1993
Explorer
Explorer

Hello everyone,

 

I am trying to simfplify the geometry of elements (such as cylinders, shperes, etc.) throgh the API.

 

My first idea was simple:

1. Retrieve a mesh from all faces with low quality using face.Triangulate(0);

2. Apply the new mesh for element's geometry.

 

However, it does not work. I have seen messages on the forum stating that working with geometry through the API is not allowed. Anyway, I believe that there it should be another approach to tackle this issue. I would appreciate any help.

0 Likes
Reply
475 Views
2 Replies
Replies (2)

jeremy_tammik
Autodesk
Autodesk

No. There is no way that you can specify Revit element geometry. Please bear in mind that Revit is a BIM authoring tool. The BIM is completely driven by parameters and constraints.

  

There is no geometry in the BIM!

  

The model as you see it (and its geometry) is just a view of the elements, their relationships, parameters and constraints.

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open

jeremy_tammik
Autodesk
Autodesk

Edited and added to the blog for the sake of completeness:

  

https://thebuildingcoder.typepad.com/blog/2023/10/no-geometry-touching-geometry-and-cut-geometry.htm...

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes