RemoveObjectDisplayMode

Removes separate display modes from individual objects. Object display modes are view based. Thus, it is possible to have an object display different in different views.

Syntax

Rhino.RemoveObjectDisplayMode (strObject [, strView])

Parameters

strObject

Required.  String.  The identifier of the object to modify.

strView

Optional.  String.  The title or identifier of the view.  If omitted, the current active view is used. Note, if Null is specified, all display modes are removed from the object.

Returns

Boolean

True if successful, false otherwise.

Null

If not successful, or on error.

Example

Dim strObject

strObject = Rhino.GetObject("Select object")

If Not IsNull(strObject) Then

  Rhino.RemoveObjectDisplayMode strObject

End If

Also See

AddObjectDisplayMode

ObjectDisplayMode

ViewDisplayModeName

ViewDisplayModes