Returns the name of a display mode given a display mode's identifier.
rhinoscriptsyntax.ViewDisplayModeName (mode_id)
rhinoscript.view.ViewDisplayModeName (mode_id)
mode_id |
Required. String or Guid. The identifier of the display mode obtained from the ViewDisplayModes method. |
String |
The name of the display mode if successful. |
None |
If not successful, or on error. |
import rhinoscriptsyntax as rs
modes = rs.ViewDisplayModes(False)
for mode in modes: print mode, "=", rs.ViewDisplayModeName(mode)