Simplify elements geometry

Simplify elements geometry

skabart1993
Explorer Explorer
596 Views
2 Replies
Message 1 of 3

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
597 Views
2 Replies
Replies (2)
Message 2 of 3

jeremy_tammik
Alumni
Alumni

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
Message 3 of 3

jeremy_tammik
Alumni
Alumni

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