Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8546

Cancel active Rhino.Input.Custom.GetObject()

$
0
0

@Harper wrote:

Hello,

Does anybody knows if is there a way to cancel a Rhino.Input.Custom.GetObject() to force _go.GetMultiple() or _go.GetOneObject to continue the execution (RhinoCommon)?

There are several times that the user doesn’t realize about the form (is asking for a geometry) and closes it, so the command prompt is still asking for an object.

I’m using RhinoApp.SendKeystrokes(); to send “Esc” key, when the form is closed, but it looks a little bit tricky…
So do you know if is there any other more elegant method to cancel the GetObject?

Thanks in advance.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 8546

Trending Articles