# Create Pipe by Layout Error

**URL:** <https://forum.dynamobim.com/t/create-pipe-by-layout-error/85293>\
**Category:** Civil 3D\
**Created:** [January 24, 2023, 6:50pm UTC](https://forum.dynamobim.com/t/create-pipe-by-layout-error/85293 "2023-01-24T18:50:17Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![mike.carson](https://avatars.discourse-cdn.com/v4/letter/m/ecae2f/32.png) [@mike.carson](https://forum.dynamobim.com/u/mike.carson)\
**Post date:** [January 24, 2023, 6:50pm UTC](https://forum.dynamobim.com/t/create-pipe-by-layout-error/85293/1 "2023-01-24T18:50:17Z")

</div>

Looking to the possible cause of this error

 ![Create PIPE RUN LAYOUT PROFILE 2 _2023-01-24_10-46-41](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/5/650917233ee5484635c6fc6a25952024204c898f.png)

thanks Mike C

---

<div class="post-metadata">

**Author:** ![hosneyalaa](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/hosneyalaa/32/100865_2.png) [@hosneyalaa](https://forum.dynamobim.com/u/hosneyalaa)\
**Post date:** [January 24, 2023, 7:09pm UTC](https://forum.dynamobim.com/t/create-pipe-by-layout-error/85293/2 "2023-01-24T19:09:41Z")

</div>

Hi  
Maybe check write  
True  
False

---

<div class="post-metadata">

**Author:** ![mike.carson](https://avatars.discourse-cdn.com/v4/letter/m/ecae2f/32.png) [@mike.carson](https://forum.dynamobim.com/u/mike.carson)\
**Post date:** [January 24, 2023, 7:16pm UTC](https://forum.dynamobim.com/t/create-pipe-by-layout-error/85293/3 "2023-01-24T19:16:44Z")

</div>

Here is the actual error message

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/e/1e937da95a2a829c84da578261bd97461ce21166.png)  
Thanks Mike C

---

<div class="post-metadata">

**Author:** ![hosneyalaa](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/hosneyalaa/32/100865_2.png) [@hosneyalaa](https://forum.dynamobim.com/u/hosneyalaa)\
**Post date:** [January 24, 2023, 7:31pm UTC](https://forum.dynamobim.com/t/create-pipe-by-layout-error/85293/4 "2023-01-24T19:31:26Z")

</div>

Check link  
Example pipe run

> [@Pressure network from polylines](https://forum.dynamobim.com/t/pressure-network-from-polylines/81686):
>
> Hello every one, I’m trying to make script that converting 2D polylines to Pressure pipes. But when I try to run, dynamo convert only one polyline. Any one know how to make this script work for multiple polylines. Attached the dynamo script, excel sheet for pipe run naming and test file [pressure Network.dyn](https://forum.dynamobim.com/uploads/short-url/37nsHnj9zdDg1VR6rFyKyzNoy4V.dyn) (36.3 KB) [New Microsoft Excel Worksheet.xlsx](https://forum.dynamobim.com/uploads/short-url/rcNWIUKEzeKxm14ViJtGETEfda2.xlsx) (9.2 KB) [Pressure test.dwg](https://forum.dynamobim.com/uploads/short-url/szJzwI2AVtBenkqtwXtOgVJp4m6.dwg) (972.3 KB)

---

<div class="post-metadata">

**Author:** ![mzjensen](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@mzjensen](https://forum.dynamobim.com/u/mzjensen)\
**Post date:** [January 24, 2023, 7:40pm UTC](https://forum.dynamobim.com/t/create-pipe-by-layout-error/85293/5 "2023-01-24T19:40:39Z")

</div>

The profile to follow needs to be a child of the pipe run alignment. In other words, you can’t have it follow another profile that is defined for an alignment other than the pipe run alignment.

---

<div class="post-metadata">

**Author:** ![mike.carson](https://avatars.discourse-cdn.com/v4/letter/m/ecae2f/32.png) [@mike.carson](https://forum.dynamobim.com/u/mike.carson)\
**Post date:** [January 24, 2023, 7:57pm UTC](https://forum.dynamobim.com/t/create-pipe-by-layout-error/85293/6 "2023-01-24T19:57:15Z")

</div>

Here is the Drawing  
I’m trying to get the Pipe run to follow the Layout (1) profile

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/8/d8115b31cb0a321a3971cc5151a4acf1d25415bf.png)

I get the same error if I change the profile to “Existing”  
Maybe i’m misunderstanding how the two profiles are not children if the alignment:

thanks Mike C

---

<div class="post-metadata">

**Author:** ![mzjensen](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@mzjensen](https://forum.dynamobim.com/u/mzjensen)\
**Post date:** [January 24, 2023, 8:45pm UTC](https://forum.dynamobim.com/t/create-pipe-by-layout-error/85293/7 "2023-01-24T20:45:20Z")

</div>

The _Layout (1)_ profile you are trying to follow is part of the _a\_Test 1_ alignment, which is a centerline alignment. The pipe run has its own alignment, which will be under the Miscellaneous category. You need to create a profile view for that alignment and draw the profile there. The pipe run cannot be set to follow a profile of a different alignment.

---

<div class="post-metadata">

**Author:** ![mike.carson](https://avatars.discourse-cdn.com/v4/letter/m/ecae2f/32.png) [@mike.carson](https://forum.dynamobim.com/u/mike.carson)\
**Post date:** [January 25, 2023, 12:23am UTC](https://forum.dynamobim.com/t/create-pipe-by-layout-error/85293/8 "2023-01-25T00:23:24Z")

</div>

This is working as I expected. I was unaware of pipe runs having a different alignment. from the pipe centerline

Many Thanks Mike C.
