Hide an object in one view and show in another

Hi,

I have a UI requirement wherein I have two views and I need to hide certain objects in one view and let them be visible in the other.

I could find context.m_doc.HideObject but this hides the object in both views as it is on m_doc, not on CRhinoView.

Can anyone help me in how to get it done on a view?
Is it possible to create multiple docs and use them in CRhinoView?

Thanks in advance,
Umesh

1 Like

Hi Umesh,

Take a look at the cmdSampleShowMyStuff.cpp command source in this project:

https://github.com/mcneel/Rhino5Samples_CPP/tree/master/SampleDisplayConduits

– Dale