# Error: Tools.SplitPipeByPoints operation failed

**URL:** https://forum.dynamobim.com/t/error-tools-splitpipebypoints-operation-failed/72429
**Category:** Revit
**Tags:** revit, dynamo
**Created:** [January 19, 2022, 1:21pm UTC](https://forum.dynamobim.com/t/error-tools-splitpipebypoints-operation-failed/72429 "2022-01-19T13:21:14Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![jw.vanasselt](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jw.vanasselt/32/133533_2.png) [@jw.vanasselt](https://forum.dynamobim.com/u/jw.vanasselt)
#### Post date: [January 19, 2022, 1:21pm UTC](https://forum.dynamobim.com/t/error-tools-splitpipebypoints-operation-failed/72429/1 "2022-01-19T13:21:14Z")

</div>

Hi all,

One of my scripts give an error in Revit 2022 with Dynamo version 2.12.0.5650.  
Does anyone know how to fix this problem or is there an alternative node or python code?

Warning: Tools.SplitPipeByPoints operation failed.  
Method not gevonden: Autodesk.Revit.DB.FormatOptions Autodesk.Revit.DB.Units.GetFormatOptions(Autodesk.Revit.DB.UnitType).

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/5/95279e33c8f08c1539946b6565c38bbe1f2003a9.png)

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/2/f21f4ad9c1559a29330743e23710cbb5cbd3323a.png)

---

<div class="post-metadata">

### Author: ![Alban\_de\_Chasteigner](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alban_de_chasteigner/32/39650_2.png) [@Alban\_de\_Chasteigner](https://forum.dynamobim.com/u/Alban_de_Chasteigner)
#### Post date: [January 19, 2022, 2:15pm UTC](https://forum.dynamobim.com/t/error-tools-splitpipebypoints-operation-failed/72429/2 "2022-01-19T14:15:08Z")

</div>

Hi @jw.vanasselt,

You can use the _Split ByPoints_ node of the _Genius Loci_ package instead.  
 ![Split ByPoints](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/3/a35a59d0994978f582dee8dfb899cd1e65304f88.png)

---

<div class="post-metadata">

### Author: ![jw.vanasselt](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jw.vanasselt/32/133533_2.png) [@jw.vanasselt](https://forum.dynamobim.com/u/jw.vanasselt)
#### Post date: [January 19, 2022, 2:26pm UTC](https://forum.dynamobim.com/t/error-tools-splitpipebypoints-operation-failed/72429/3 "2022-01-19T14:26:18Z")

</div>

That’s amazing, my script will be a lot more faster! 🙂  
I can delete alot of extra nodes by this one.

Thanks!

---

<div class="post-metadata">

### Author: ![jw.vanasselt](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jw.vanasselt/32/133533_2.png) [@jw.vanasselt](https://forum.dynamobim.com/u/jw.vanasselt)
#### Post date: [January 20, 2022, 7:45am UTC](https://forum.dynamobim.com/t/error-tools-splitpipebypoints-operation-failed/72429/4 "2022-01-20T07:45:04Z")

</div>

Is there a maximum to split?

I want to do it multiple times in 1 pipe/duct:  
Is this a lacing / level problem?

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/9/69518cb7f45084c972e89dc4af1e876fd383706d.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: [January 20, 2022, 7:57am UTC](https://forum.dynamobim.com/t/error-tools-splitpipebypoints-operation-failed/72429/5 "2022-01-20T07:57:56Z")

</div>

Hello …take a look here…

 ![Screenshot 2022-01-02 101552](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/2/a220f6e3261667514ff60ef123b71e19bfb3ac72.png)

> [@How could I join lines together?](https://forum.dynamobim.com/t/how-could-i-join-lines-together/72054/10):
>
> Try something here… [dynfoeum.dyn](https://forum.dynamobim.com/uploads/short-url/u2UeP7AjUXljFxEjDmazwzbW0Gx.dyn) (27.8 KB)

---

<div class="post-metadata">

### Author: ![jw.vanasselt](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jw.vanasselt/32/133533_2.png) [@jw.vanasselt](https://forum.dynamobim.com/u/jw.vanasselt)
#### Post date: [January 20, 2022, 8:19am UTC](https://forum.dynamobim.com/t/error-tools-splitpipebypoints-operation-failed/72429/6 "2022-01-20T08:19:54Z")

</div>

Thank you very much! 🙂 It’s the transpose / cycle who did it!

---

<div class="post-metadata">

### Author: ![igor.guilherme](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/igor.guilherme/32/193352_2.png) [@igor.guilherme](https://forum.dynamobim.com/u/igor.guilherme)
#### Post date: [April 14, 2023, 7:32pm UTC](https://forum.dynamobim.com/t/error-tools-splitpipebypoints-operation-failed/72429/7 "2023-04-14T19:32:45Z")

</div>

Hi @jw.vanasselt, I’m having the same problem, can you show me the solution?

---

<div class="post-metadata">

### Author: ![jw.vanasselt](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jw.vanasselt/32/133533_2.png) [@jw.vanasselt](https://forum.dynamobim.com/u/jw.vanasselt)
#### Post date: [April 17, 2023, 8:09am UTC](https://forum.dynamobim.com/t/error-tools-splitpipebypoints-operation-failed/72429/8 "2023-04-17T08:09:59Z")

</div>

Hi @igor.guilherme ,

Over here an example:

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/a/7aaaa071226b77d50c0c947ed156e2b927a9f887.png)  
The levels in the nodes depends on the structure.

---

<div class="post-metadata">

### Author: ![igor.guilherme](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/igor.guilherme/32/193352_2.png) [@igor.guilherme](https://forum.dynamobim.com/u/igor.guilherme)
#### Post date: [April 20, 2023, 5:16pm UTC](https://forum.dynamobim.com/t/error-tools-splitpipebypoints-operation-failed/72429/9 "2023-04-20T17:16:19Z")

</div>

Thank you very much @jw.vanasselt !

---

<div class="post-metadata">

### Author: ![vanhnek15](https://avatars.discourse-cdn.com/v4/letter/v/bc79bd/32.png) [@vanhnek15](https://forum.dynamobim.com/u/vanhnek15)
#### Post date: [May 30, 2023, 7:39am UTC](https://forum.dynamobim.com/t/error-tools-splitpipebypoints-operation-failed/72429/10 "2023-05-30T07:39:27Z")

</div>

Do you have a file numbering the location of the splitted ducts?
