Hide an object in one view and show in another



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,

(Dale Fugier) #2

Hi Umesh,

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


– Dale