HideObjects

Hides one or more objects.  Hidden objects are not visible, cannot be snapped to, and cannot be selected.

Syntax

rhinoscriptsyntax.HideObjects (object_ids)

rhinoscript.object.HideObjects (object_ids)

Parameters

object_ids

Required.  list.  A list of strings or Guids identifying the objects to hide.

Returns

Number

The number of objects hidden.

Example

import rhinoscriptsyntax as rs

ids = rs.GetObjects("Select objects to hide")

if ids: rs.HideObjects(ids)

Also See

HideObjects

IsObjectHidden

ShowObject

ShowObjects