IsObjectSolid

Verifies that an object is a closed, solid object.

Syntax

rhinoscriptsyntax.IsObjectSolid (object_id)

rhinoscript.object.IsObjectSolid (object_id)

Parameters

object_id

Required.  String or Guid.  The identifier of an object.

Returns

True

The object is solid.

False

The object is not solid.

Example

import rhinoscriptsyntax as rs

id = rs.GetObject("Select object")

if rs.IsObjectSolid(id):

    print "The object is solid."

else:

    print "The object is not solid."

Also See

IsObject

IsObjectHidden

IsObjectInGroup

IsObjectLocked

IsObjectNormal

IsObjectReference

IsObjectSelectable

IsObjectSelected