Hides a single object. Hidden objects are not visible, cannot be snapped to, and cannot be selected.
rhinoscriptsyntax.HideObject (object_id)
rhinoscript.object.HideObject (object_id)
object_id |
Required. String or guid. The identifier of the object to hide. |
Boolean |
True or false indicating success or failure. |
import rhinoscriptsyntax as rs
id = rs.GetObject("Select object to hide")
if id: rs.HideObject(id)