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)
Since: 5.0
Syntax
public bool SetDisplayModeOverride(
	DisplayModeDescription mode
)

Parameters

mode
Type: Rhino.DisplayDisplayModeDescription
The display mode.

Return Value

Type: Boolean
true if setting was successful.
See Also