Geometry.Split in Revit API

Hi community!

Does anybody know if there is an equivalent of the Geometry.Split node in the Revit Api?

I’ve got the volume of a room, then I got its solid geometry and from the solid I got a face (Planar Face) and I would like to cut/split it by a plane getting two faces, I’ve managed to do it in python with the Geometry.Split but it uses ‘Autodesk.DesignScript.Geometry.Surface’ not ‘Autodesk.Revit.DB Face’.

I’m aware of the CutWithHalfSpace method, but it requires a solid not a face.

Any idea about how to achieve it?

Thank you so much in advance!

1 Like

There is the following face method Intersect Method (Curve, IntersectionResultArray) in the API

1 Like

Thanks for the insight Mike,

But then, if I understood it right the intersect method returns an array of elements and in my scenario where I’m intersecting a face against another face or a plane against a face, the return I will get I assume will be an array of curves as a curve/line is the result of an intersection of two faces.

But actually what I’m expecting to get as a result are the result faces, the same It returns the Geometry.Split node in Dynamo.

Thanks again!