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

Problem with unnamed sticky command arguments in scripting

$
0
0

How does one set via rhinoscript command line arguments that don’t have a name but are sticky toggles? May not be the best example, but, say, I want to create a helix of diamater of 1:

Rhino.Command(“helix 0,0,0 0,0,1 ???”)

I don’t know if last call to helix set the default to radius or diameter mode, and it’s not clear how to change it without knowing what it was set to.

Rhino.Command(“helix 0,0,0 0,0,1 radius enter diameter”)

seems to work, but seems like a really bad and fragile hack as it invokes another command half the time

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 5800

Trending Articles