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.

GetAngle

Pauses for user input of an angle.

GetBoolean

Displays boolean command-line option toggles.

GetBox

Pauses for user input of a box.

GetColor

Displays the Rhino color picker dialog box.

GetDistance

Pauses for user input of a distance.

GetInteger

Pauses for user input of a whole number.

GetLayer

Displays a layer selection dialog box.

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.

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.

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.

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.

StringBox

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