Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision Both sides next revision
rhino:basicmacros [2020/08/14]
127.0.0.1 external edit
rhino:basicmacros [2021/05/06]
mitch_heynick [Getting started]
Line 63: Line 63:
   ! _Box _Center _Pause r5,5 _Enter   ! _Box _Center _Pause r5,5 _Enter
 Now that the macro is running, [[rhino:macroscriptsetup|make a new toolbar button]] and paste the macro in. Give it a recognizable name, like “10x10x10 bottom centered box”.  Note, once the macro is executed, right-clicking repeats the whole sequence of this macro, so you can use it many times in a row without clicking the button every time. Now that the macro is running, [[rhino:macroscriptsetup|make a new toolbar button]] and paste the macro in. Give it a recognizable name, like “10x10x10 bottom centered box”.  Note, once the macro is executed, right-clicking repeats the whole sequence of this macro, so you can use it many times in a row without clicking the button every time.
 +
 +> //Note on the Pause command://   In earlier versions of Rhino, for some command macros it was necessary to use one Pause for each screen pick needed.  This made it difficult to make macros for commands that had an indeterminate number of screen picks.  Much of that has been fixed in the latest version, however there are still exceptions.  For these cases, there is now the Multipause command, which basically allows the user to make as many picks as needed without having to write multiple Pause commands in the macro.
  
 =====OK, let’s get a bit more complicated…===== =====OK, let’s get a bit more complicated…=====
rhino/basicmacros.txt · Last modified: 2021/05/06 by mitch_heynick