- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I'm try to create DirectShape representations of Room geometry inside revit, and need to apply materials to it.
I can create a DirectShape directly from the Room.Geometry, however as you will be aware I cannot set the material of the geometry or its faces. I have had success converting the geometry using the TessellatedShapeBuilder which allows material assignment but produces triangulate geometry which is suboptimal for my application, especially in instances of curved walls and ceilings.
https://github.com/jeremytammik/SpatialElementGeometryCalculator/blob/master/SpatialElementGeometryC...
I presume the only other option would be to use the BRepBuilder to produce cleaner geometry. Does anyone know of any examples of this based on converting existing geometry and applying materials?
Thanks in advance.
Kevin
Solved! Go to Solution.