I am trying to develop a graph to sweep a profile around a room (to used for skirting, cornice etc)
Before anyone intervenes, We have a Revit add-on package that cannot deal with wall sweeps at all hence my looking for an alternative solution beside model in place as recommended by the developer.
I’m stuck on getting the sweep to go completely around room and I’m not if the profile orientation method I’ve used is the best as it screws up where 2 or more rooms are involved.
I have read through various other posts but am no closer to solving this
Attached is my graph and resulting sweep
Any help would appreciated.
Thanks
Eddie
Try using a “True” value here. The default boolean is “False”.

1 Like
Thanks for responding Ewan-Opie.
unfortunately doing so generates an error in the Solid.BySweep node
You could try making the sweep without closing, make a separate sweep of the closing part, then union them?
Though corners may end up with conflicting geometry/butt joined ends.
@kennyb6 you are onto a possible solution, one of many I am sure.
This is executed by using combinations of the perimeter curves to ensure all corners join correctly before creating a union solid.
2 Likes
Awesome…
Will look into it and let you know.
Thanks Kennyb6 & Ewan_Opie appreciate it
1 Like
Unfortunately I couldn’t get it to work. 
You only made one solid with the sweep, dropped it, and then tried to union an empty list.
Your SweepBySolid’s lacing is set to shortest. If you only have one curve, then it will only make 1 sweep. Either make more curves or set the lacing to longest.
1 Like
Darn, forgot about lacing … Doh 
But now I have different error …
So your sweep profile (curve) has to be 90 degrees to the start of the path. If you are using a different path where it is on the same plane as the profile, it won’t work. In @Ewan_Opie’s post, I am assuming the part you can’t see has 4 different profiles orientated to each path.
Really you just need another profile orientated to the one path that failed. Just make sure you check the lacing as sweepassolid’s longest lacing will use whatever is last in the shorter list as the recurring one.
I’ve been trying to get the profile (curve) orientated to the start of the path but am unsure if I’ve done it right.
My graph is in the original post.
You could just rotate it using Geometry.Rotate?
Origin point will need to be updated based on where yours is but the output is the rotated polyline.
Hmm I’m unsure where at which point in the graph to add it.
But I played around and got it working without erroring, but it’s generating anything in Revit!
Solids made in Dynamo are just in Dynamo. You have to make it into a familyinstance in Revit separately. There are a few ways to do it, like generic models or conceptual mass.
Ahhh… OK wasn’t aware of that.
Some more reading is afoot
thanks