so I’m using rhino3dm for python (3.7) on a windows-machine. I loaded a 3dmFile via python and now want to read some object attributes, basic stuff.
import rhino3dm import tkinter import os #rhino3dm is a c-library #for maximum speed, stay in library-objects as much as possible wdir = os.path.dirname(os.path.realpath(__file__)) #string needs to be replaced with userinput file = wdir + '/model.3dm' print('loading model...') model = rhino3dm.File3dm.Read(file) print('model has been loaded') objects = model.Objects for i in objects: print(i.Attributes.Name) #works print(i.Attributes.Type) #Nope print(i.Attributes.GetType) #Nope RhinoCommonSyntax print(i.Attributes.GetType()) #Nope RhinoCommonSyntax considered Method-Syntax print(i.Geometry) print('-----------------')
So what are the attributes that I can read? Is there a way to show all of the attributes given to the object-class? I tried:
Any help or hint appreciated