So, I’m trying to script selection of grips to make it easier to replicate a bug I’ve got in my own code.
If I type
-SelVoumeSphere 0 4
into the Rhino window, I get the expected selection.
However, if I paste the same string, the command runs, I see the arguments in the command history as expected, and it exits with no error message, but nothing is selected.
In Rhino 4 I used to be able to copy a macro (from notepad or something), give focus to Rhino, and ctrl-v to execute the macro. That’s what I was having trouble with. I ended up making a toolbar button, and it works there.
Hi Dale,
I am using SelBox function in my python script. However, I dont know how to set
the selection mode (Window , Crossing etc.). It would be great if you can also give some insights
how to embed function modes in command string for different functions.
Hi Dale,
Thank you for the reply. I run the code it works fine for Window selection.
When I type the command SelBox on Rhino terminal. It asks me to choose
the selection mode (i.e. Selection Mode (Window, Crossing, InvertWindow InvertCrosing) )
However, I don`t know how to put the selection mode into scripting.