Error: bbox.Union() takes at most 2 arguments (2 given)

I’m puzzled: :roll_eyes:

First: please don’t mix uppercase and lowercase when you mean two different variables. It’s probably alright, but you never know. There are languages/compilers that are case-insensitive.

Second, I think you can just do the following on line 28:

BBOX.Union(bbox)
1 Like

Thanks, didn’t solve the issue but you reminded me to check if it is a static method and it was :smiley:

Rhino.Geometry.BoundingBox(BBOX, bbox) did the job

Yeah, I know this and usually I am very careful but in this case I’m quickly prototyping something and BBOX is the union box while bbox is the small temp bounding box so it is meaningful. :wink: