Hello,
I am trying to get the geometry of a blockdefintion from an external 3dm-file.
When I try this, I get the Rhino.GeometryInstanceDefinition.Geometry…
I am stuck at the point where I can process the “content” of this geometry (curves, lines, surfaces, breps, …).
data = Rhino.FileIO.File3dm.Read(path)
for n in data.AllInstanceDefinitions:
sc.doc.InstanceDefinitions.Add(n.Name, "", Rhino.Geometry.Point3d(0,0,0), [n])
When I look at the documentation of the InstanceDefinitionGeometry I find everything like Name, etc… but I cannot get it’s content?
What am I missing?
Thanks,
T.