# The problem of extraction alignment name for pressure pipe object with dynamo

**URL:** <https://forum.dynamobim.com/t/the-problem-of-extraction-alignment-name-for-pressure-pipe-object-with-dynamo/99776>\
**Category:** Civil 3D\
**Tags:** dynamo\
**Created:** [April 6, 2024, 5:22am UTC](https://forum.dynamobim.com/t/the-problem-of-extraction-alignment-name-for-pressure-pipe-object-with-dynamo/99776 "2024-04-06T05:22:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![yatcheung](https://avatars.discourse-cdn.com/v4/letter/y/3bc359/32.png) [@yatcheung](https://forum.dynamobim.com/u/yatcheung)\
**Post date:** [April 6, 2024, 5:22am UTC](https://forum.dynamobim.com/t/the-problem-of-extraction-alignment-name-for-pressure-pipe-object-with-dynamo/99776/1 "2024-04-06T05:22:23Z")

</div>

I try to get the reference alignment name for each pressure pipe object in a pressure pipe network, the model contains serval alignments, therefore I create a preliminary dynamo script as the following, but I stop at the point where I don’t know how to continue?

 ![TEST01_2024-04-06_12-59-47](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/0/90fa443164ce5bb5a8914f221807d04b0d19609a.png)

---

<div class="post-metadata">

**Author:** ![Ahmed.Kamal.Moussa](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ahmed.kamal.moussa/32/179234_2.png) [@Ahmed.Kamal.Moussa](https://forum.dynamobim.com/u/Ahmed.Kamal.Moussa)\
**Post date:** [April 6, 2024, 6:40am UTC](https://forum.dynamobim.com/t/the-problem-of-extraction-alignment-name-for-pressure-pipe-object-with-dynamo/99776/2 "2024-04-06T06:40:10Z")

</div>

The fastest way is to make your script to manually select the alignment and the pressure parts needed to be referenced to that alignment.

---

<div class="post-metadata">

**Author:** ![yatcheung](https://avatars.discourse-cdn.com/v4/letter/y/3bc359/32.png) [@yatcheung](https://forum.dynamobim.com/u/yatcheung)\
**Post date:** [April 14, 2024, 12:59pm UTC](https://forum.dynamobim.com/t/the-problem-of-extraction-alignment-name-for-pressure-pipe-object-with-dynamo/99776/3 "2024-04-14T12:59:30Z")

</div>

I install “Camber” of dynamo for civil 3D and create a dynamo script with camber node in order to extract pressure pipe parts with associated alignments and export to Excel, but the excel file does not shown desired information,.

 ![Find PipeRun with PressurParts_2024-04-14_08-54-30](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/c/6cd1b75e196a598aebfa6015b98ec6e0c4ce8f82.png)  
 ![Sample](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/e/2ea7f9ac22999bc1480d4dff96c3d9d53daad00b.png)

---

<div class="post-metadata">

**Author:** ![patrick.ericson](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/patrick.ericson/32/121411_2.png) [@patrick.ericson](https://forum.dynamobim.com/u/patrick.ericson)\
**Post date:** [April 14, 2024, 4:10pm UTC](https://forum.dynamobim.com/t/the-problem-of-extraction-alignment-name-for-pressure-pipe-object-with-dynamo/99776/4 "2024-04-14T16:10:48Z")

</div>

Hi  
Could you zoom in so that you see the names of the nodes and then use Dynamos function to create a screenshot of the canvas and upload that instead?  
For the moment we can’t see the name of the nodes.  
And collapse the List.Create node just before the excel node.

---

<div class="post-metadata">

**Author:** ![patrick.ericson](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/patrick.ericson/32/121411_2.png) [@patrick.ericson](https://forum.dynamobim.com/u/patrick.ericson)\
**Post date:** [April 14, 2024, 4:15pm UTC](https://forum.dynamobim.com/t/the-problem-of-extraction-alignment-name-for-pressure-pipe-object-with-dynamo/99776/5 "2024-04-14T16:15:23Z")

</div>

Also try this solution.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/e/0e5a75ee01f2f32fffd0545c41704b1a48a316f2.png)

---

<div class="post-metadata">

**Author:** ![yatcheung](https://avatars.discourse-cdn.com/v4/letter/y/3bc359/32.png) [@yatcheung](https://forum.dynamobim.com/u/yatcheung)\
**Post date:** [April 14, 2024, 10:47pm UTC](https://forum.dynamobim.com/t/the-problem-of-extraction-alignment-name-for-pressure-pipe-object-with-dynamo/99776/6 "2024-04-14T22:47:34Z")

</div>

Dear Patrick,

Thanks for your kind reply, the files for the probllem are as attached.  
[Find PipeRun with PressurParts.dyn](https://forum.dynamobim.com/uploads/short-url/TgWeT7Xa9Q0TifJZQyD9yACVJs.dyn) (37.7 KB)  
[Sample.dwg](https://forum.dynamobim.com/uploads/short-url/mVrKRS5aSMZg1b3gazLAsTPwCFe.dwg) (4.9 MB)  
[Sample.xlsx](https://forum.dynamobim.com/uploads/short-url/qqHylAwlpCfjFx6MJZLcRqF9KhZ.xlsx) (8.9 KB)
