# How can we do a solid sweep using dynamo, not just a single line route?

**URL:** <https://forum.dynamobim.com/t/how-can-we-do-a-solid-sweep-using-dynamo-not-just-a-single-line-route/100972>\
**Category:** Revit\
**Tags:** revit\
**Created:** [May 14, 2024, 3:53am UTC](https://forum.dynamobim.com/t/how-can-we-do-a-solid-sweep-using-dynamo-not-just-a-single-line-route/100972 "2024-05-14T03:53:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Angel76](https://avatars.discourse-cdn.com/v4/letter/a/82dd89/32.png) [@Angel76](https://forum.dynamobim.com/u/Angel76)\
**Post date:** [May 14, 2024, 3:53am UTC](https://forum.dynamobim.com/t/how-can-we-do-a-solid-sweep-using-dynamo-not-just-a-single-line-route/100972/1 "2024-05-14T03:53:21Z")

</div>

How can we do a solid sweep using dynamo, not just a single line route? The path can be a 3D polyline that is imported from the CAD file. Is there any possible way?

 ![01010](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/9/b9e03687cccdddd56f7ef90abb9bb901849df79c.png)

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [May 14, 2024, 5:12am UTC](https://forum.dynamobim.com/t/how-can-we-do-a-solid-sweep-using-dynamo-not-just-a-single-line-route/100972/2 "2024-05-14T05:12:23Z")

</div>

Hi @Angel76 probably something here…if cad curve then use bimorph for cadcurves [path]

 ![Skærmbillede 2024-05-14 071024](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/d/1df34dc8eb8173a66449db109ed9b47a2687e370.png)

---

<div class="post-metadata">

**Author:** ![Angel76](https://avatars.discourse-cdn.com/v4/letter/a/82dd89/32.png) [@Angel76](https://forum.dynamobim.com/u/Angel76)\
**Post date:** [May 14, 2024, 3:30pm UTC](https://forum.dynamobim.com/t/how-can-we-do-a-solid-sweep-using-dynamo-not-just-a-single-line-route/100972/3 "2024-05-14T15:30:26Z")

</div>

This is exactly what I need, but I don’t know how to bring that geometry to revit, would it have to be through a family?

---

<div class="post-metadata">

**Author:** ![haganjake2](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/haganjake2/32/119069_2.png) [@haganjake2](https://forum.dynamobim.com/u/haganjake2)\
**Post date:** [May 14, 2024, 4:23pm UTC](https://forum.dynamobim.com/t/how-can-we-do-a-solid-sweep-using-dynamo-not-just-a-single-line-route/100972/4 "2024-05-14T16:23:14Z")

</div>

Try searching existing posts first:

> [@Exporting Dynamo Generated Geometry into Revit Family](https://forum.dynamobim.com/t/exporting-dynamo-generated-geometry-into-revit-family/52455):
>
> Hello. I am somewhat new to Dynamo, have been working to learn the software the past few months. I am having trouble finding the best way to export dynamo generated geometry back to Revit. The geometry itself is somewhat detailed, a large number of vertical sweeps (~1000) and some horizontal sweeps (~100). I basically started with a mass family that I am studying panelization options for, one of which will be a series of vertical rods at the intersections of planes and the mass surfaces. See …

> [@Creating surfaces into families](https://forum.dynamobim.com/t/creating-surfaces-into-families/89139):
>
> Hi Need Help!! I have surface that I have created in dynamo that I would like to present place it on the Revit Model. Currently couldn’t find any information on converting surfaces to familyinstances that could placed in the dynamo file. So I need help. Thanks in Advance grinning

> [@Create family by Family by geometry](https://forum.dynamobim.com/t/create-family-by-family-by-geometry/54421):
>
> Hi. I am very new to the dynamo. I am trying to create a window family by dynamo geometry. It is work when I used import instance by geometry into the Revit. However, it can’t create as a family. There are two warning appeared one is " A managed exception was thrown by Revit or by one of its external applications " and " Warning: FamilyType.ByGeometry operation failed. Input template file is invalid for the document type to be created! "

> [@Create DirectShape with dynamo geometry in python](https://forum.dynamobim.com/t/create-directshape-with-dynamo-geometry-in-python/95934):
>
> Hi all, I have been trying out Dynamo for a little while and started to learn Revit API and python script as I saw more flexibilities in them. I have managed to create a solid square with this script: box\_size = 1.0 box = Cuboid.ByLengths(Point.ByCoordinates(0, 0, 0), box\_size, box\_size, box\_size) I am wondering if anyone would know how to turn this into DirectShape object in Revit?
