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.
Rhino.RemoveObjectDisplayMode (strObject [, strView])
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. |
Boolean |
True if successful, false otherwise. |
Null |
If not successful, or on error. |
Dim strObject
strObject = Rhino.GetObject("Select object")
If Not IsNull(strObject) Then
Rhino.RemoveObjectDisplayMode strObject
End If