This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
rhino:basicmacros [2021/05/06] mitch_heynick [Getting started] |
rhino:basicmacros [2025/03/20] (current) dan [The tools you need] |
||
---|---|---|---|
Line 5: | Line 5: | ||
You can create **macros** in Rhino to automate many tasks, customize your commands, and improve your workflow. | You can create **macros** in Rhino to automate many tasks, customize your commands, and improve your workflow. | ||
- | There may be some confusion about the use of the term “scripting”. | + | There may be some confusion about the use of the term “scripting”. |
//The two things are actually very different.// | //The two things are actually very different.// | ||
Line 16: | Line 16: | ||
* The **Rhino Help file** - lists all Rhino commands and their sub-options. This is your most important reference. | * The **Rhino Help file** - lists all Rhino commands and their sub-options. This is your most important reference. | ||
* The Rhino **MacroEditor**, | * The Rhino **MacroEditor**, | ||
- | * An understanding of how to add your macros to your workflow in the form of aliases or toolbar buttons (explained [[developer:macroscriptsetup|here]]) | + | * An understanding of how to add your macros to your workflow in the form of aliases or toolbar buttons (explained [[https:// |
=====You' | =====You' | ||
First, if you are a user of Rhino, you are already a macro user even though you may not know it. Many of the commands in Rhino are already “macroed” for you. When you click a toolbar button or call a command from the menu, it is often a preset macro. | First, if you are a user of Rhino, you are already a macro user even though you may not know it. Many of the commands in Rhino are already “macroed” for you. When you click a toolbar button or call a command from the menu, it is often a preset macro. | ||
Line 64: | Line 64: | ||
Now that the macro is running, [[rhino: | Now that the macro is running, [[rhino: | ||
- | > //Note on the Pause command:// | + | > //Note on the Pause command:// |
+ | |||
+ | For example the macro below | ||
+ | |||
+ | ! _Polyline _Pause _SelLast | ||
+ | |||
+ | will work fine to make the polyline, but it will not be selected at the end. Why? Because the single Pause is ' | ||
+ | |||
+ | However, the following macro | ||
+ | |||
+ | ! _Polyline _Multipause _SelLast | ||
+ | |||
+ | works including selecting the polyline at the end because the Multipause includes //all// the picks for the polyline, allowing the SelLast to be executed and work at the end. | ||
=====OK, let’s get a bit more complicated…===== | =====OK, let’s get a bit more complicated…===== |