GetPrintWidth

Displays a dialog box prompting the user to select a print width.

Syntax

Rhino.GetPrintWidth ([dblPrintWidth])

Parameters

dblPrintWidth

Optional.  Number.  The print width to select.  If omitted, the default print width will be selected.

Returns

Number

The value of the selected print width if successful.

Null

If not successful, or on error.

Example

Dim strLayer, dblPrintWidth

strLayer = Rhino.CurrentLayer

dblPrintWidth = Rhino.GetPrintWidth(Rhino.LayerPrintWidth(strLayer))

If IsNumeric(dblPrintWidth) Then

  Rhino.LayerPrintWidth strLayer, dblPrintWidth

End If

getprintwidth.jpg

Also See

GetLayer

GetLinetype