Hide In Block

Is there a way to hide/show specifics objects in an InstanceDefinition according to its attribute.userdictionary ? I try to replicate the layer visibility mecanism using Rhinocommon.

Not with just Rhino, of course. You might has some luck with a display conduit. I’m not sure how I’d approach this, however.

– Dale

That’s what I thought. Is it possible to display some objects with a specific display conduit and bypass the default conduit? Or I need to hide them ( and prevent user to show them) and display filtered geometry by my custom conduit ?

I tried another approach : I use SetDisplayModeOverride on the InstanceDefinitionGeometry to display it with a custom display that hide everything. It’s almost perfect, but the “hidden” geometry is still selectable. Have you an idea to make it unselectable ?

Many Thanks