Description:

By default, objects are drawn using the display mode of the viewport that the object is being drawn in. Setting a specific display mode, instructs Rhino to always use that display mode, regardless of the viewport's mode. This version sets a display mode for a specific viewport.

Syntax:
public bool SetDisplayModeOverride(
DisplayModeDescription mode,
Guid rhinoViewportId
)
Parameters:
  • rhinoViewportId
  • Type: System.Guid
  • The Rhino viewport ID.
Returns:
Type: bool
True on success.
Available since:
5.0

Description:

By default, objects are drawn using the display mode of the viewport that the object is being drawn in. Setting a specific display mode, instructs Rhino to always use that display mode, regardless of the viewport's mode. This version affects the object's display mode for all viewports.

Syntax:
public bool SetDisplayModeOverride(
DisplayModeDescription mode
)
Parameters:
Returns:
Type: bool
True if setting was successful.
Available since:
5.0

/
/
/
SetDisplayModeOverride

SetDisplayModeOverride method

Class:  Rhino.DocObjects.ObjectAttributes

Nothing found