User Interface Methods

The following methods provide interaction with the user.

 

Method

Description

BrowseForFolder

Displays a Windows browse-for-folder dialog box.

CheckListBox

Displays a list of strings in a checkable list box.

ComboListBox

Displays a list of strings in a combo list box.

EditBox

Displays a dialog box with a multi-line edit control.

EditListBox

Displays a list of items in an editable list box dialog.

GetAngle

Pauses for user input of an angle.

GetAngleEx

Pauses for user input of an angle.

GetBoolean

Displays boolean command-line option toggles.

GetBox

Pauses for user input of a box.

GetCircle

Pauses for user input of a circle.

GetColor

Displays the Rhino color picker dialog box.

GetCursorPos

Retrieves the cursor's position.

GetDistance

Pauses for user input of a distance.

GetEdgeCurves

Prompts the user to pick one or more edge curves to duplicate.

GetInteger

Pauses for user input of a whole number.

GetKey

Pauses for user input of a keyboard key.

GetLayer

Displays a layer selection dialog box.

GetLayers

Displays a multiple layer selection dialog box.

GetLine

Prompts the user to pick points that define a line.

GetLinetype

Displays a linetype selection dialog box.

GetMeshFaces

Prompts the user to pick, or select, one or more mesh faces.

GetMeshVertices

Prompts the user to pick, or select, one or more mesh vertices.

GetOption

Prompts the user for one or more command line options.

GetPoint

Pauses for user input of a point.

GetPointOnCurve

Pauses for user input of a point constrained to a curve.

GetPointOnLine

Pauses for user input of a point constrained to an infinite line.

GetPointOnMesh

Pauses for user input of a point constrained to a mesh.

GetPointOnPlane

Pauses for user input of a point constrained to a plane.

GetPointOnSurface

Pauses for user input of a point constrained to a surface.

GetPoints

Pauses for user input of multiple points.

GetPolyline

Prompts the user to pick points that define a polyline.

GetPrintWidth

Displays a print width selection dialog.

GetReal

Pauses for user input of a number.

GetRectangle

Pauses for user input of a rectangle.

GetString

Pauses for user input of a string.

GetSurfaceIsoParamPoint

Pauses for user input of a point constrained to a surface.

HtmlBox

Displays an HTML-based dialog box.

IntegerBox

Displays a dialog box prompting the user to enter a whole number.

ListBox

Displays a list of strings in a simple list box.

MessageBeep

Plays a wave form sound.

MessageBox

Displays a Windows message box.

MultiListBox

Displays a list of strings in a multiple selection list box.

OpenFileName

Displays a Windows file open dialog box.

OpenFileNames

Displays a multi-select Windows file open dialog box.

OrderListBox

Displays a list of items in an orderable list box dialog.

PopupMenu

Displays a context-like popup menu.

PropertyListBox

Displays a list of items and values in a property list.

RealBox

Displays a dialog box prompting the user to enter a number.

SaveFileName

Displays a Windows file save dialog box.

SetCursorPos

Moves the cursor to the specified screen coordinates.

StringBox

Displays a dialog box prompting the user to enter a string.