Returns a list of view display modes, including those listed in the Advanced Display Modes section of Rhino's Options dialog box.
Rhino.ViewDisplayModes ([blnReturnNames])
blnReturnName |
可选参数。Boolean.If True (default), then the names of the display modes are returned.If False, then the identifiers of the display modes are returned. |
Array |
A array of strings identifying the display mode names or identifiers if successful. |
Null |
如果执行不成功或出错,返回空值。 |
Dim arrModes, strMode
arrModes = Rhino.ViewDisplayModes(False)
For Each strMode In arrModes
Rhino.Print strMode & " = " & Rhino.ViewDisplayModeName(strMode)
Next