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

Setting shortcut for command line options

$
0
0

Hi there.

Shortcuts for command line options seem to be automatically detected. Lets say I have two options - “Dx” and “Dy”. Rhino selects the shorcuts “D” (for Dx) and “Y” for (Dy). However, I would like X and Y instead. Is this possible?

getter.SetCommandPrompt("Select nodes to restrain");
getter.AddOptionToggle("Dx", ref _fixDx);
getter.AddOptionToggle("Dy", ref _fixDy);

Thank you,

Mo

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 8561

Trending Articles