I assume it has to be Rhino.DocObjects.RhinoObject.Description
I tried ShortDescription
but it only gives me surface
or polysurface
.
and I can’t figure out how to use Rhino.FileIO.TextLog()
this:
import rhinoscriptsyntax as rs
import scriptcontext as sc
import Rhino
#obj = rs.GetObject(message=None, filter=rs.filter.polysurface, preselect=True, select=False, custom_filter=None, subobjects=False)
""""""
objs = [obj for obj in rs.AllObjects()]# if rs.IsPolysurface(obj) and rs.ObjectName(obj) == "Delimited molded surface.1"
print len(objs)
for obj in objs:
tlog = Rhino.FileIO.TextLog()
print Rhino.DocObjects.BrepObject.Description(rs.coercerhinoobject(obj),tlog)
results in None
for every object it finds.
Thanks in advance.