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

Macros and pre-selection

$
0
0

@Diego_Noriega wrote:

I'm having a issue with the commands in my custom plugin when trying to use them in a macro: when I run a macro like this:

! _CreateSplashes _Distance 15 _Height 4

it works great if I don't have any pre-selection. If I do have a pre-selection, I get a bunch of "Unknown command" messages for each one of the options I'm trying to set. My understanding is that, because of the pre-selection, my GetObject.Get is returning GetResult.Object right away, without setting the options first. What's the best way around this (if there is any)? I'd like my commands' options to be settable in a macro, just like the native commands are.

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 8565

Trending Articles