Verifies an object is an aligned dimension object.
rhinoscriptsyntax.IsAlignedDimension(object_id)
rhinoscript.dimension.IsAlignedDimension(object_id)
object_id |
Required. String or Guid. The object's identifier. |
Boolean |
True if successful, otherwise False. |
None |
On error. |
import rhinoscriptsyntax as rs
obj = rs.GetObject("Select a dimension")
if rs.IsAlignedDimension(obj):
print "The object is an aligned dimension."
else:
print "The object is not an aligned dimension."