

Suppresses command options for clutter free command feedback. This feature can be used to create a toolbar that works like an on-screen numeric keypad. Clicking the button enters 5 to the command line and stops there for further input. If the last character in a toolbar button macro is "\", the macro runs without proceeding Enter at the end.Ĭreate a toolbar button with a macro "5\". One-shot object snaps and sub-object picking filters are automatically nestable and do not require an apostrophe. Geometry creation commands are not nestable. View and construction plane manipulation and object snaps are nestable. Use MacroEditor to write and test your macros.This macro works in all language versions of Rhino. This macro only works in the Italian version of Rhino. To make macros work worldwide, we suggest writing macros in English with an underscore in front of every command and option. Commands and options are translated differently in different languages.

A few commands (e.g., DevLoft) have options only available at the command-line. To suppress the dialog box and use command-line options, prefix the command name with a hyphen (-). If necessary, the exclamation point can be used at the end of the macro.īasically, all commands can be made into macros at the command line (even commands that have dialog boxes by default). At other locations, it cancels the macro. When scripting a name (or a text string) that contains spaces, you need to enclose it in double-quotes to avoid breaking the command sequence.Ĭauses the command to repeat automatically without pressing Enter to restart.Īn exclamation point (!) in the beginning of a macro cancels any previous command. Write command macros just as you would type the command sequence at the command line.Ī space character in macros acts like pressing Enter. Command macros can be run by typing the command at the command prompt, from toolbar buttons, shortcut keys, command aliases, from the ReadCommandFile command, or using the Paste command into Rhino's command stream. All Rhino commands can be used in command macros.
