Surface of solid triangulates

I am generation Windows from lines. Select a line and a profile, then a solid.bysweep and solid.byunion those solids. To get them shown in my family i use DirectShape.ByGeometry
Works great for a square window.


but when i get it a bit more complex


it triangulates… i don’t want that…it needs to be a free form.

is this, this topic
https://github.com/DynamoDS/DynamoRevit/issues/2174

if i use familyType.ByGeometry then it works fine,but then i have a family in my family…

i think i will use that get nested families inside one family

You could give the BrepShape.ByGeometry node from the latest version of spring nodes a try. No guarantee that it will work tho, because Revit Breps have a lot of limitations on the input geometry.

directshape falls back to mesh when the brepBuilder fails - you can try manually using the BrepBuilder API if you know your geometry well enough and know Revit’s geometry edge cases…