# Issue with creating pipes by lines

**URL:** <https://forum.dynamobim.com/t/issue-with-creating-pipes-by-lines/44530>\
**Category:** Revit\
**Created:** [December 13, 2019, 3:10pm UTC](https://forum.dynamobim.com/t/issue-with-creating-pipes-by-lines/44530 "2019-12-13T15:10:42Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![vvarela13](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@vvarela13](https://forum.dynamobim.com/u/vvarela13)\
**Post date:** [December 13, 2019, 3:10pm UTC](https://forum.dynamobim.com/t/issue-with-creating-pipes-by-lines/44530/1 "2019-12-13T15:10:42Z")

</div>

Hello World, Ive been attempting this same node and i still get the Null Message

First attempt

 ![imagen](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/9/49028953b14f510a1041e610912bb4f0c43433d2.png)

Second attempt

 ![imagen](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/5/e55769e921be6b4845e9c5100ec01bb39f6474aa.png)

In both cases i am having a Null result \>.\<

 ![imagen](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/7/c7bb8d4e7f27c31509a9aa5fde4ef79c3f149a9c.png)

HELP

---

<div class="post-metadata">

**Author:** ![vvarela13](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@vvarela13](https://forum.dynamobim.com/u/vvarela13)\
**Post date:** [December 13, 2019, 8:07pm UTC](https://forum.dynamobim.com/t/issue-with-creating-pipes-by-lines/44530/2 "2019-12-13T20:07:48Z")

</div>

Also, i am using Revit 2019 and Dynamo 1.3

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [December 13, 2019, 10:48pm UTC](https://forum.dynamobim.com/t/issue-with-creating-pipes-by-lines/44530/3 "2019-12-13T22:48:23Z")

</div>

Try upgrading to Dynamo 2.0.3. 1.3 may not be supported by your particular version of MEPover.

---

<div class="post-metadata">

**Author:** ![vvarela13](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@vvarela13](https://forum.dynamobim.com/u/vvarela13)\
**Post date:** [December 16, 2019, 2:57pm UTC](https://forum.dynamobim.com/t/issue-with-creating-pipes-by-lines/44530/4 "2019-12-16T14:57:13Z")

</div>

Still having a null result!

---

<div class="post-metadata">

**Author:** ![vvarela13](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@vvarela13](https://forum.dynamobim.com/u/vvarela13)\
**Post date:** [December 16, 2019, 3:27pm UTC](https://forum.dynamobim.com/t/issue-with-creating-pipes-by-lines/44530/5 "2019-12-16T15:27:29Z")

</div>

![imagen](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/8/483975c438ac1142874b440f6289163283714109.png)

 ![imagen](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/e/6ead6c7e25ca1f8fa03b32cecc273b9469681c8b.png)

This should be very simple! arght

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [December 16, 2019, 3:41pm UTC](https://forum.dynamobim.com/t/issue-with-creating-pipes-by-lines/44530/6 "2019-12-16T15:41:08Z")

</div>

Group and label your nodes so we can understand why you’re doing what you’re doing. The logic is clearly broken at the Element.GetParameterValueByName node but I’m not sure what you’re after. Also, I have split this into a new topic as you’re pretty far off and this one already has a solution.

---

<div class="post-metadata">

**Author:** ![vvarela13](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@vvarela13](https://forum.dynamobim.com/u/vvarela13)\
**Post date:** [December 16, 2019, 3:57pm UTC](https://forum.dynamobim.com/t/issue-with-creating-pipes-by-lines/44530/7 "2019-12-16T15:57:53Z")

</div>

I am calling from an AutoCad file a layer to create pipes in Revit with a specific pipe type and system type

to start off im calling the CAD lines with Bimorph nodes

 ![imagen](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/c/5c2c5e4d3e98c77da590602d7334706d196d6c95.png)

Secondly im calling the pipe type, i want to obtain the existing Sanitary in this scenario

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

Third im doing the same with the system type

 ![imagen](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/0/40ee0bdfd2ec73f79f99b71a56c8a84873df7414.png)

And lastly i am using the node to create the lines to pipes but it gives me a null resutl

 ![imagen](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/5/4500aebae313a4d7d250bd65ba01a592ec20fe4f.png)

Hope this is clearer for the understanding of everybody  
Thank you

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [December 16, 2019, 4:04pm UTC](https://forum.dynamobim.com/t/issue-with-creating-pipes-by-lines/44530/8 "2019-12-16T16:04:09Z")

</div>

The name of the systems (circled in Red) are not parameter names:

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/1/511d5f7e779c09a102ab6a787a84abbd0e3200da.png)

As such you’re just returning empty strings in the Element.GetParameterValueByName node. Try wiring the `b[13]` code block directly into the `PipeType` input of the Pipe.ByLines node.

Similar can be done with the system type block.

---

<div class="post-metadata">

**Author:** ![vvarela13](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@vvarela13](https://forum.dynamobim.com/u/vvarela13)\
**Post date:** [December 16, 2019, 4:13pm UTC](https://forum.dynamobim.com/t/issue-with-creating-pipes-by-lines/44530/9 "2019-12-16T16:13:55Z")

</div>

Ive simplified the node as you suggested and i am still having a null results in the Pipe.ByLines node

 ![imagen](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/1/81f240d84610b2b4ae776c0998fd0f9b55297dca.png)

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [December 16, 2019, 4:19pm UTC](https://forum.dynamobim.com/t/issue-with-creating-pipes-by-lines/44530/10 "2019-12-16T16:19:40Z")

</div>

Check your input type for the lines. Looks like you’re feeding a point instead of a line.

---

<div class="post-metadata">

**Author:** ![vvarela13](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@vvarela13](https://forum.dynamobim.com/u/vvarela13)\
**Post date:** [December 16, 2019, 4:30pm UTC](https://forum.dynamobim.com/t/issue-with-creating-pipes-by-lines/44530/11 "2019-12-16T16:30:14Z")

</div>

Awesome! thank you so much! yes i was using the Node Curve.StarPoint.

I also had to to enable the use Levels L1

and that resolved the script

 ![imagen](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/6/9664debc22d24167ea5ac06cce4eb9e2deb6af28.png)

thank you very much!

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [December 16, 2019, 4:30pm UTC](https://forum.dynamobim.com/t/issue-with-creating-pipes-by-lines/44530/12 "2019-12-16T16:30:45Z")

</div>

Glad it helped. Please mark a solution so others can learn by reading. 🙂

---

<div class="post-metadata">

**Author:** ![la160233](https://avatars.discourse-cdn.com/v4/letter/l/e19b73/32.png) [@la160233](https://forum.dynamobim.com/u/la160233)\
**Post date:** [December 3, 2020, 2:52pm UTC](https://forum.dynamobim.com/t/issue-with-creating-pipes-by-lines/44530/15 "2020-12-03T14:52:12Z")

</div>

hello i’m sorry to reply here but i have the same problem… My pipe by lines CRASHES everytime i try to create a pipe from a line ??? I dont understand…

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

---

<div class="post-metadata">

**Author:** ![la160233](https://avatars.discourse-cdn.com/v4/letter/l/e19b73/32.png) [@la160233](https://forum.dynamobim.com/u/la160233)\
**Post date:** [December 3, 2020, 3:26pm UTC](https://forum.dynamobim.com/t/issue-with-creating-pipes-by-lines/44530/17 "2020-12-03T15:26:33Z")

</div>

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