HideObject

Hides a single object.  Hidden objects are not visible, cannot be snapped to, and cannot be selected.

Syntax

rhinoscriptsyntax.HideObject (object_id)

rhinoscript.object.HideObject (object_id)

Parameters

object_id

Required.  String or guid.  The identifier of the object to hide.

Returns

Boolean

True or false indicating success or failure.

Example

import rhinoscriptsyntax as rs

id = rs.GetObject("Select object to hide")

if id: rs.HideObject(id)

Also See

HideObjects

IsObjectHidden

ShowObject

ShowObjects