Setting the LOD value on ExportContext
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I can set the LOD level on Face instances:
// Summary:
// Returns a triangular mesh approximation to the face.
//
// Parameters:
// levelOfDetail:
// The level of detail. Its range is from 0 to 1. 0 is the lowest level of detail
// and 1 is the highest.
//
// Exceptions:
// T:Autodesk.Revit.Exceptions.ArgumentOutOfRangeException:
// Thrown when level of detail is less than 0 or greater than 1.
public Mesh Triangulate(double levelOfDetail);
But that will not give me any UV mapping information. For that I need to use ExportContext, and that way I will receive PolymeshTopology instances which are already tessellated and it doesn't seem like there is a way to set the LOD level for them.
How can I set the LOD level, get tessellated geometry, and also get UV mapping information?