ViewDisplayModes - PYTHON 不支持

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

同见

ViewDisplayMode

ViewDisplayModeEx

ViewDisplayModeName