Revit’s [TessellatedShapeBuilder] function

Revit’s [TessellatedShapeBuilder] function

1146279845
Contributor Contributor
613 Views
3 Replies
Message 1 of 4

Revit’s [TessellatedShapeBuilder] function

1146279845
Contributor
Contributor

Hello, why does it fail to call Revit’s [TessellatedShapeBuilder] function when the number of triangles is more than 45000? Is there any way to solve this problem?

0 Likes
614 Views
3 Replies
Replies (3)
Message 2 of 4

jeremytammik
Autodesk
Autodesk

Please provide a minimal reproducible case and I can ask the development team whether it is intentional for you.

  

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

   



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

0 Likes
Message 3 of 4

1146279845
Contributor
Contributor

When " TessellatedShapeBuilder.Target= TessellatedShapeBuilderTarget.Mesh,

TessellatedShapeBuilder.Fallback=TessellatedShapeBuilderFallback.Salvage" and the number of triangles is greater than 675675, tessellatedshapebuilder. Build() failed

 

When " TessellatedShapeBuilder.Target=TessellatedShapeBuilderTarget.Solid,

TessellatedShapeBuilder.Fallback=TessellatedShapeBuilderFallback.Abort" and the number of triangles is greater than 45000, tessellatedshapebuilder. Build() failed

 

Why is there so much difference between solid and mesh?

Thank you very much

0 Likes
Message 4 of 4

jeremytammik
Autodesk
Autodesk

I cannot say why there is a difference between the two, but one thing is clear:

 

Remember that Revit is a BIM tool.

 

Are you really using it for a BIM, or some inappropriate use case?

 

What do the shapes represent that you are creating?

 

Are they building elements?

 

If so, that will end up being a pretty complicated building.

 



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

0 Likes