# Extrusion of 3D Revit Object along a Nurbs.ByControlPoints

**URL:** <https://forum.dynamobim.com/t/extrusion-of-3d-revit-object-along-a-nurbs-bycontrolpoints/102530>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [July 5, 2024, 7:23am UTC](https://forum.dynamobim.com/t/extrusion-of-3d-revit-object-along-a-nurbs-bycontrolpoints/102530 "2024-07-05T07:23:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![BrendanCivil](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@BrendanCivil](https://forum.dynamobim.com/u/BrendanCivil)\
**Post date:** [July 5, 2024, 7:24am UTC](https://forum.dynamobim.com/t/extrusion-of-3d-revit-object-along-a-nurbs-bycontrolpoints/102530/1 "2024-07-05T07:24:00Z")

</div>

Hi everybody, I am trying to link a 3D object from revit to an assembly, more specifically, I am trying to get a pipe section to follow a nurbs curve in dynamo…I have 4 corner points, each with an (x,y,z) co-ordinate. These point are then linked by the NurbsCurve. I would like to get a pipe to follow one of these lines… any assistance will be highly appreciated.  
Thank you. My Dynamo Script…/and Excel points…/  
[Civil Report.xls](https://forum.dynamobim.com/uploads/short-url/3ggMvWOEJ2h0EWTkVP0YSQkJBF5.xls) (138 KB)

[Corridor\_Revit\_Dynamo\_Allignment.dyn](https://forum.dynamobim.com/uploads/short-url/e6iNmmPaF5Mr4HIWPVP1pKssl8M.dyn) (134.1 KB)

As you can see, its a corridor I made in Civil3D, exported the point data to excel and am now working in Revit and Dynamo with the goal of placing a pipe that runs along the top left point/line throughout the corridor.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/0/80069a3143a60ef9446bcd2d6dbf46ab6c152982.png)  
This is where I am getting stuck, I cant seem to figure out how to get a pipe object to follow one of the lines.  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/6/66072fc247df8ce62b2fd3ab198c00c5a61317c2.png)

---

<div class="post-metadata">

**Author:** ![RMohareb](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/rmohareb/32/120534_2.png) [@RMohareb](https://forum.dynamobim.com/u/RMohareb)\
**Post date:** [July 5, 2024, 7:49am UTC](https://forum.dynamobim.com/t/extrusion-of-3d-revit-object-along-a-nurbs-bycontrolpoints/102530/2 "2024-07-05T07:49:51Z")

</div>

Hi @BrendanCivil  
You can access direct to the c3d corridor from Revit to get the coordinat of the pipe. You can use BriMohareb\_xxxx pak. Or civilconnection pak.  
The next step is create adaptive family hold the cross section of the pipe. Or transform the solid from c3d to ro revit by using Remember node

> [@"BriMohareb\_XXXX" Package for RevitXXXX Thread](https://forum.dynamobim.com/t/brimohareb-xxxx-package-for-revitxxxx-thread/84362):
>
> This packedge use Dynamo Revit\_2023 as plateform to integrating Revit\_23, Civil3d\_23 , Autocad, sofistik\_2018, sofistik\_2023 and Add extra geometry nodes to dynamo through API. It help bridge and tunnel engineers to create and Automate automate model and design. Also makes it possible to create complex bridge and tunnel elements by using Adaptive family

> [@Workflow Civil - Revit](https://forum.dynamobim.com/t/workflow-civil-revit/94796/25):
>
> Thanks for inspiration @RMohareb it works in versions 2025 nice. [RememberNode\_01.dyn](https://forum.dynamobim.com/uploads/short-url/5eG3QN1detO9JqJByndDCT4BNeJ.dyn) (6.6 MB) [Pipe Networks-3C.dwg](https://forum.dynamobim.com/uploads/short-url/gVwmyCczbXSxBiOiI07WFuLFlVI.dwg) (2.6 MB) [Projekt1.rvt](https://forum.dynamobim.com/uploads/short-url/2t2ndm9vTMgPcy7HKpCGRL9x3tn.rvt) (4.2 MB)

---

<div class="post-metadata">

**Author:** ![BrendanCivil](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@BrendanCivil](https://forum.dynamobim.com/u/BrendanCivil)\
**Post date:** [July 5, 2024, 8:28am UTC](https://forum.dynamobim.com/t/extrusion-of-3d-revit-object-along-a-nurbs-bycontrolpoints/102530/3 "2024-07-05T08:28:57Z")

</div>

I am using 2025 versions. Will they work together ?

---

<div class="post-metadata">

**Author:** ![RMohareb](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/rmohareb/32/120534_2.png) [@RMohareb](https://forum.dynamobim.com/u/RMohareb)\
**Post date:** [July 5, 2024, 8:37am UTC](https://forum.dynamobim.com/t/extrusion-of-3d-revit-object-along-a-nurbs-bycontrolpoints/102530/4 "2024-07-05T08:37:41Z")

</div>

@u17191115 Yes, make sure you use BriMohareb\_2025. You can download it from the above link. I upgrade it to use .net8 to be compatible with revit 25.

---

<div class="post-metadata">

**Author:** ![BrendanCivil](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@BrendanCivil](https://forum.dynamobim.com/u/BrendanCivil)\
**Post date:** [July 8, 2024, 1:22pm UTC](https://forum.dynamobim.com/t/extrusion-of-3d-revit-object-along-a-nurbs-bycontrolpoints/102530/5 "2024-07-08T13:22:03Z")

</div>

@RMohareb My problem is getting the adaptive family to run along the line with dynamo code

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/e/7e1a51c2e010fc8098d7ada29929e94cb93a78c7.jpeg)  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/2/820a54c14bde9352d0f3a0e7885c258f4c9cea86.png)
