How to draw objects only to specific CRhinoView

Hi
I want to draw objects only to specific CRhinoView, and not to others CRhinoViews. Adding object to rhino active document with AddObject draws the object in all existing views .

I want to draw objects temporarily to newly created custom view . I followed this link to create custom view https://wiki.mcneel.com/developer/sdksamples/newview. Do you also have code example that shows how to draw only to the created view if this is possible with Rhino ?

Thank you

Hi @Elizabeta,

When drawing with a conduit, just check the id of the viewport being drawn. If it doesn’t match your target viewport, then don’t draw.

cmdSampleShowMyStuff.cpp

– Dale