Hi,
I am trying to create a set out of the list that contains a names of the curve objects.
but I do not know where is my mistake, because its showing only one item of the list if the output is “a”, but when its print then I get each item as a separate list.
import Rhino as r
import scriptcontext as sc
sc.doc=r.RhinoDoc.ActiveDoc
llist=
for i in x:
llist.append(r.RhinoDoc.ActiveDoc.Objects.Find(i).Attributes)
for i in range(len(llist)):
print set(llist[i].Name)
sc.doc=ghdoc
What I want to is basically, have each object’s name as an item in the list and create a set out of it.
Note: Currently the name of the objects are integers, however when the names contains any chars then I get each char as an item of the list instead of each name as an item…