Returns a short text description of an object.
rhinoscriptsyntax.ObjectDescription (object_id)
rhinoscript.object.ObjectDescription (object_id)
object_id |
Required. String or Guid. The identifier of the object. |
String |
A short text description of the object if successful. |
import rhinoscriptsyntax as rs
obj = rs.GetObject("Select object")
if obj:
description = rs.ObjectDescription(obj)
print "Object description:" , description