Verifies that an object is a closed, solid object.
rhinoscriptsyntax.IsObjectSolid (object_id)
rhinoscript.object.IsObjectSolid (object_id)
object_id |
Required. String or Guid. The identifier of an object. |
True |
The object is solid. |
False |
The object is not solid. |
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."