Click or drag to resize

ObjectAttributesSetDisplayModeOverride Method (DisplayModeDescription)

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.

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool SetDisplayModeOverride(
	DisplayModeDescription mode
)

Parameters

mode
Type: Rhino.DisplayDisplayModeDescription
The display mode.

Return Value

Type: Boolean
true if setting was successful.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.9
See Also