That’s strange, because I tried with the same code blocks on the other side of my structure, and it works!
I thought that was a problem due to the lines order, so I ordered better the lines in the first case, but it gives me the same error…
Are you able to share the graph you have so that I can test on my end?
Upon deeper investigation, I may just have re-created a similar test case that passes. We have fixes in the works that resolve issues with Surface.ByPatch, Curve.ExtrudeAsSolid and Solid.ByLoft that are scheduled to release with Revit 2022.1
Hi @andreacolombo6596, thanks for sharing those. I’ve tried to re-create and reproduce the problem you have.
So far, it doesn’t appear to be an issue with the make-up of your PolyCurves (PolyCurve, Line, NurbsCurve, Line), so probably something bespoke to your set-up - I just mocked something up quickly as I don’t have access to your graph or project
Hi, I looked at your file.
I noticed that you have a nurbs curve and a polycurve with points in different planes all joined together in the curve to patch and My guess is the patching node can’t use them to trim the surface once it’s done. Surface.ByPatch has worked best in my experience with coplanar curves. I would like to see what Sol has to say.
In the meantime: