Quantcast
Viewing all articles
Browse latest Browse all 5778

IronPython "GeometryBase" for Brep.GetBoundingBox()-Method...convert Brep-List into IEnumerable

@Mr_Sinter wrote:

Hi all,
I tried to get a bounding box of some breps with "Rhino.Geometry.Brep.GetBoundingBox(self: GeometryBase, plane: Plane)".
My Problem is, that "GeometryBase" is an .NET-style IEnumerable ("System.Collections.Generic.IEnumerable") argument....

How can I cast a pythonic list with guid's of breps into an IEnumerable, so that it fits as a
"GeometryBase"-argument?

I got no Idea of C# and .NET......

Thanks a lot

Regards
Mr Sinter

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5778

Trending Articles