@ivelin.peychev wrote:
I assume it has to be
Rhino.DocObjects.RhinoObject.Description
I triedShortDescription
but it only gives mesurface
orpolysurface
.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.
Posts: 2
Participants: 1