Scripting extends Rhino functionality.
All Rhino commands can be used in command macros. 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.
Some commands are provided to facilitate scripting actions usually performed through the Rhino interface.
 Cancel
Cancel
        Cancel the current command and deselects objects.
 Delete
Delete
        Erase objects.
 Echo
Echo
        Turn on echoing of script commands to the command history window.
 Enter
Enter
        Simulate the Enter key in a script.
 EnterEnd
EnterEnd
        Simulate the Enter key to complete a command string in a script.
 GetDocumentUserText
GetDocumentUserText
        Retrieve text information attached to a file with the SetDocumentUserText command.
 GetUserText
GetUserText
        Retrieve text information attached to an object using the SetUserText command.
 MacroEditor
MacroEditor
        Open an edit window for script creation and testing.
 NoEcho
NoEcho
        Turn off echoing of script commands to the command history window.
 Pause
Pause
        Stop a script for user input.
 ReadCommandFile
ReadCommandFile
        Read and execute a command script from a text file.
 RunPythonScript
RunPythonScript
        Run a Python script.
 SetDisplayMode
SetDisplayMode
        Specify a viewport display mode.
 SetDocumentUserText
SetDocumentUserText
        Attach text information to the file.
 SetObjectName
SetObjectName
        Assign a name to an object.
 SetRedrawOff
SetRedrawOff
        Disable screen redraw, construction plane, and view changes during scripts.
 SetRedrawOn
SetRedrawOn
        Enable screen redraw, construction plane, and view changes during scripts.
 SetUserText
SetUserText
        Attach text information to an object.
 ClearUndo
ClearUndo
        Clear the undo buffer to free memory.
 CloseRenderWindow
CloseRenderWindow
        Close the render display window.
 CopyRenderWindowToClipboard
CopyRenderWindowToClipboard
        Copy the image in the render window to the Clipboard.
 DocumentPropertiesPage
DocumentPropertiesPage
        Open the Document Properties dialog box at the specified page.
 Exit
Exit
        Close Rhino.
 MaxViewport
MaxViewport
        Maximize the active viewport.
 NewFloatingViewport
NewFloatingViewport
        Create a new free-floating viewport.
 NextOrthoViewport
NextOrthoViewport
        Activate the next viewport with an orthogonal projection.
 NextPerspectiveViewport
NextPerspectiveViewport
        Activate the next viewport with a perspective projection.
 NextViewport
NextViewport
        Activate the next viewport.
 Ortho
Ortho
        Restrict cursor movement to an angle.
 OrthoAngle
OrthoAngle
        Set the angle for cursor ortho movement.
 PrevViewport
PrevViewport
        Activate the previous viewport.
 SetActiveViewport
SetActiveViewport
        Activate a named viewport.
 SetMaximizedViewport
SetMaximizedViewport
        Maximize a named viewport inside the application window.
 SetOrtho
SetOrtho
        Turn ortho mode on, off, or toggle the current state.
 SetPlanar
SetPlanar
        Turn Planar mode on, off, or toggle the current state.
 SetSnap
SetSnap
        Turn grid snap on, off, or toggle the current state.
 ShowOsnap
ShowOsnap
        Turn the Osnap control on.
 Snap
Snap
        Toggle the current snap mode state.
 SnapSize
SnapSize
        Specify the grid snap spacing.
 ComputeVertexColors
ComputeVertexColors
        Evaluate texture coordinates and set vertex colors.
Rhino 6 for Mac © 2010-2019 Robert McNeel & Associates. 16-Jan-2019