Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5892

Cancelling Rhino.GetOption

$
0
0

@radair3155 wrote:

I'm running Rhino 5 on win7. I wrote a vbscript that I connected to a button using the command "!_ToggleScale" which runs fine and cancels stock Rhino functions waiting for command line input before proceeding. I've also got a vbscript sub called _SetScale which asks the user for command line input through Rhino.GetOption. It also runs fine, but I found that if it's waiting for input, the button won't cancel the script before running _ToggleScale. Debugging shows the _SetScale subroutine doesn't move past the GetOption line when the button is pressed. Am I missing something in either scripting or the button macro command?

Robert

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5892

Trending Articles