Message 1 of 6
Tap into rendering pipeline - draw a simple rectangle over the viewport
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm building a command to list issues on a project that are located in the model, but I don't want to create new objects (e.g. text symbols) due to various reasons (they can be accidentally printed, they can be slow to hide/show), so I want to display them as overlays in the revit viewport. By overlays I mean something as simple as a rectangle showing where an issue is located - the issue description, date etc. may be displayed in a separate window.
Has anyone tapped into revit's rendering pipeline to draw such custom effects directly in the viewport? For a test I just want to display a rectangle.
I saw a few interesting demos of DirectContext3D API - would that be the right approach?