Site Tools


Differences

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

Link to this comparison view

Both sides previous revision Previous revision
rhino:basicmacros [2019/08/28]
mitch_heynick [Examples using the above tools]
rhino:basicmacros [2019/08/29] (current)
pascal
Line 157: Line 157:
 </​code>​ </​code>​
 Notice the reference to each individual command option name.  Specifying them inside the script is like clicking on them with the mouse. ​ Also note the three Enter entries. ​ Since each command option takes you down into a new set of sub-level command options, an Enter is required to take you back up.  Since this script went down three levels, it needs to specify three Enters to get all the way out of the command. Notice the reference to each individual command option name.  Specifying them inside the script is like clicking on them with the mouse. ​ Also note the three Enter entries. ​ Since each command option takes you down into a new set of sub-level command options, an Enter is required to take you back up.  Since this script went down three levels, it needs to specify three Enters to get all the way out of the command.
 +
 +**EnterEnd** is a good way to 'back out' of a command without the need to keep track of how many levels deep you've gone  - 
 +
 +<​code>​
 +  -_Options _Appearance _Visibility _Crosshairs _EnterEnd
 +</​code>​
  
 Or, if you just use an exclamation point **!** at the end (which in a script means “end now!”), it takes you all the way out regardless of how many sub-levels you're in. Note, if you want to continue your macro with something else, do not use !, use the Enters instead, otherwise your macro will always stop at the ! and terminate. Or, if you just use an exclamation point **!** at the end (which in a script means “end now!”), it takes you all the way out regardless of how many sub-levels you're in. Note, if you want to continue your macro with something else, do not use !, use the Enters instead, otherwise your macro will always stop at the ! and terminate.
rhino/basicmacros.txt · Last modified: 2019/08/29 by pascal