OSnap Toolbar / Panel

Please excuse my ignorance, but I am in the process of rewriting our application to run on Rhino 6 / RhinoCommon, and I’m having difficulty in finding how to programatically turn off the OSnap Toolbar.

I’ve tried looking through the toolbar collections, appearance settings, document settings, etc.

Can someone please show me how to hide this window with C# RhinoCommon code?

image

Hi @jason_stevenson,

It looks like the only way, using RhinoCommon, is to script the -ShowOsnap command.

– Dale

OK. That is unfortunate, the rest was all cleanly ported to RhinoCommon…

Thanks for the quick reply, I’ll script it and move on.

I can add something, but you won’t see it until Rhino 7.

– Dale

1 Like

That would be great. Anytime I can get away from RunScript() I feel better.

We are working on support for Rhino WIP also, so that would be good to try out.

I’ve added this to the pile.

https://mcneel.myjetbrains.com/youtrack/issue/RH-59951

– Dale

1 Like

RH-59951 is fixed in the latest WIP

1 Like