Verifies an object is a point object.
rhinoscriptsyntax.IsPoint (object_id)
rhinoscript.geometry.IsPoint (object_id)
object_id |
Required. String or Guid. The object's identifier. |
Boolean |
True if successful, otherwise False. |
import rhinoscriptsyntax as rs
id = rs.GetObject("Select a point")
if rs.IsPoint(id):
print "The object is a point."
else:
print "The object is not a point."