Micrating problem 1.3 to 2.0 - geometry.boundingbox on sectionview

I am migrating from 1.3 to 2.0… but have some problem with one of my scripts.
Script works fine in 1.3 but get’s an error in 2.0 and have no idea how to solve it.

the error is:
Warning: Geometry.BoundingBox expects argument type(s) (Autodesk.DesignScript.Geometry.Geometry), but was called with (Revit.Elements.Views.SectionView).

Try Element.BoundingBox

1 Like

that was quick and easy…getting confused with all this migration…Thanks Jacob

1 Like