Osnap has all options available through it’s corresponding named command line, and you can enable/disable/toggle it via the DisableOsnap command.
So this seems to enable you to create a completely custom Osnap toolbar with custom icons, if you don’t want to use the default text-based one… however, the most important thing which I want to add, which is a permanent “one shot” visible toolbar, is something I haven’t figured out how to access from a button. Does anyone know how to, for example, put “POnSrf” on a button?
Also, I can’t find the corresponding command line for SelectionFilter. Unlike the Osnap command, SelectionFilter only toggles the visibility of that toolbar, and not enable/disable/toggle (which again, is a consistency break in the Rhino UI). Does anyone know what the full options commands are named?
Thanks, missed the little dash in the beginning. Now, why do I have to add -_ to SelectionFilter to see the options, but not Osnap, I wonder?
Also, somehow, it’s now the same with Osnap all of a sudden, even if I click the hard-coded bottom text button in Rhino and I did not have this behavior before. How do I restore the default behavior which toggles the functionality on/off instead of the panels themselves?
And as sudden as it happened it went away… what makes these buttons sometimes enable and disable their functionality, and other times show or hide the their entire panels?
Persistent - I don’t think so… Once you’re on an object with “persistent” I think you have to stay there. So the only way would be to only use OnSrf/OnPSrf for each pick.