Dynamic Drawing in DetailView Viewport

(Luis Fraguada) #1


I have a plugin which asks the user to select a DetailView. I’d like to dynamically draw items in the Viewport of the DetailView which the user chooses. Right now, I can dynamically draw in the Active Viewport of the Layout. If I try to draw, for example, the Bounding Box of an object seen in the DetailView, I see that bounding box from the top, and drawn all over the Layout, instead of within the DetailView (which is in Perspective).

For the most part I have completed the functionality that I need, but for completeness I would like to see how to draw into the DetailView from the Layout.

All the best,