I was wondering if there is a ‘simple’ way to define a set of ‘variables’ with numerical values that could be easily used in any command when a numerical value is called for? e.g.
When using offsetfromsrf command…you manually pick your curve, then the surface, then you can enter a value. I would like to be able to just insert a predetermined stored value at such a point in the command sequence…any command.
So far it seams I have to go the route of learning some scripting, macros, etc. - but it all seems a bit complex/involved just for a ‘simple’ task.
Thanks for the tip, with a bit of looking at videos researched(creating toolbars/buttons and editing them),
I managed to get it to work as intended.
Created a custom toolbar with custom button.
Set up left click with a line of my numerical value followed by the ‘enter’ script command.
I think at some point I would like to be able to set up a Python function that returns a value which is ‘entered’ like with the script command enter.( In situ of manually entering a Rhino command).
Not sure if this is possible within using a button editor, as I don’t see options that suggest it’s possible this way. Probably have to go through some other avenue altogether.