# BimorphNodes Curve.IntersectAll tolerance exception curve length too small

**URL:** https://forum.dynamobim.com/t/bimorphnodes-curve-intersectall-tolerance-exception-curve-length-too-small/16318
**Category:** Packages
**Created:** [November 7, 2017, 5:55pm UTC](https://forum.dynamobim.com/t/bimorphnodes-curve-intersectall-tolerance-exception-curve-length-too-small/16318 "2017-11-07T17:55:44Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![kongGBK9K](https://avatars.discourse-cdn.com/v4/letter/k/90db22/32.png) [@kongGBK9K](https://forum.dynamobim.com/u/kongGBK9K)
#### Post date: [November 7, 2017, 5:55pm UTC](https://forum.dynamobim.com/t/bimorphnodes-curve-intersectall-tolerance-exception-curve-length-too-small/16318/1 "2017-11-07T17:55:44Z")

</div>

Hi Thomas,

These nodes are great. I am using your Curve.InteresectAll node on a cad drawing, but I get this error.

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

Warning: Curve.IntersectAll operation failed.  
Curve length is too small for Revit’s tolerance (as identified by Application.ShortCurveTolerance).  
Parameter name: endpoints

I guess the length of the curve is too short to produce an intersection, however, when I review the list of curves, I can’t find any curves that would be below the tolerance value for revit.

Any ideas?

---

<div class="post-metadata">

### Author: ![Thomas\_Mahon](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/thomas_mahon/32/64209_2.png) [@Thomas\_Mahon](https://forum.dynamobim.com/u/Thomas_Mahon)
#### Post date: [November 7, 2017, 6:48pm UTC](https://forum.dynamobim.com/t/bimorphnodes-curve-intersectall-tolerance-exception-curve-length-too-small/16318/2 "2017-11-07T18:48:37Z")

</div>

Hi @kongGBK9K

Thanks. It could be an artefact produced by the curve conversion method in use (Dynamo curves are converted to Revit API curves for the intersection test). Can you upload your DWG to test?

---

<div class="post-metadata">

### Author: ![kongGBK9K](https://avatars.discourse-cdn.com/v4/letter/k/90db22/32.png) [@kongGBK9K](https://forum.dynamobim.com/u/kongGBK9K)
#### Post date: [November 7, 2017, 7:06pm UTC](https://forum.dynamobim.com/t/bimorphnodes-curve-intersectall-tolerance-exception-curve-length-too-small/16318/3 "2017-11-07T19:06:28Z")

</div>

Yes. I’ll send you the cad file by email if thats ok. The node works on some of the CAD file but not all. Due to the size of the footprint, I’ve had to split the CAD file into smaller layer chunks, as dynamo would quite often crash when trying to delete the duplicate curves.

---

<div class="post-metadata">

### Author: ![kongGBK9K](https://avatars.discourse-cdn.com/v4/letter/k/90db22/32.png) [@kongGBK9K](https://forum.dynamobim.com/u/kongGBK9K)
#### Post date: [November 7, 2017, 7:12pm UTC](https://forum.dynamobim.com/t/bimorphnodes-curve-intersectall-tolerance-exception-curve-length-too-small/16318/4 "2017-11-07T19:12:00Z")

</div>

I’ve email the file to [info@bimorph.co.uk](mailto:info@bimorph.co.uk). Thanks for your quick response!

---

<div class="post-metadata">

### Author: ![Thomas\_Mahon](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/thomas_mahon/32/64209_2.png) [@Thomas\_Mahon](https://forum.dynamobim.com/u/Thomas_Mahon)
#### Post date: [November 7, 2017, 10:13pm UTC](https://forum.dynamobim.com/t/bimorphnodes-curve-intersectall-tolerance-exception-curve-length-too-small/16318/5 "2017-11-07T22:13:22Z")

</div>

@kongGBK9K I cant replicate your error - its working fine when I test. Which version of Revit, Dynamo and BimorphNodes are you using? What geometry range are you using in Dynamo? What are your Revit units? What units are you importing the link with? Probably best to start a new thread as its not relevant to the OP and will help others if they experience the same issue.

---

<div class="post-metadata">

### Author: ![kongGBK9K](https://avatars.discourse-cdn.com/v4/letter/k/90db22/32.png) [@kongGBK9K](https://forum.dynamobim.com/u/kongGBK9K)
#### Post date: [November 8, 2017, 12:43am UTC](https://forum.dynamobim.com/t/bimorphnodes-curve-intersectall-tolerance-exception-curve-length-too-small/16318/6 "2017-11-08T00:43:08Z")

</div>

So in the cad file it works with with the layer called RFA\_PAN\_ALL but not RFA\_PAN\_PART 6, 7, 7.1 or 8. I am using revit 2017, dynamo 1.3. Revit units mm.

Regards

Kong Hoang

---

<div class="post-metadata">

### Author: ![kongGBK9K](https://avatars.discourse-cdn.com/v4/letter/k/90db22/32.png) [@kongGBK9K](https://forum.dynamobim.com/u/kongGBK9K)
#### Post date: [November 8, 2017, 12:43am UTC](https://forum.dynamobim.com/t/bimorphnodes-curve-intersectall-tolerance-exception-curve-length-too-small/16318/7 "2017-11-08T00:43:35Z")

</div>

Sorry revit 2016

Regards

Kong Hoang

---

<div class="post-metadata">

### Author: ![kongGBK9K](https://avatars.discourse-cdn.com/v4/letter/k/90db22/32.png) [@kongGBK9K](https://forum.dynamobim.com/u/kongGBK9K)
#### Post date: [November 8, 2017, 12:44am UTC](https://forum.dynamobim.com/t/bimorphnodes-curve-intersectall-tolerance-exception-curve-length-too-small/16318/8 "2017-11-08T00:44:22Z")

</div>

Link is imported as mm

Regards

Kong Hoang

---

<div class="post-metadata">

### Author: ![kongGBK9K](https://avatars.discourse-cdn.com/v4/letter/k/90db22/32.png) [@kongGBK9K](https://forum.dynamobim.com/u/kongGBK9K)
#### Post date: [November 8, 2017, 12:56pm UTC](https://forum.dynamobim.com/t/bimorphnodes-curve-intersectall-tolerance-exception-curve-length-too-small/16318/9 "2017-11-08T12:56:49Z")

</div>

Hi Thomas,

I’ve created a new thread here –

[https://forum.dynamobim.com/t/bimorph-nodes-curves-intersectall-error-curve-length-too-small/16321?u=konggbk9k&source\_topic\_id=16318](https://forum.dynamobim.com/t/bimorph-nodes-curves-intersectall-error-curve-length-too-small/16321?u=konggbk9k&source_topic_id=16318)

thanks,

Regards

[[http://www.spacegroup.co.uk/email\_disclaimer/Kong](http://www.spacegroup.co.uk/email_disclaimer/Kong) Hoang.jpg]

---

<div class="post-metadata">

### Author: ![Thomas\_Mahon](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/thomas_mahon/32/64209_2.png) [@Thomas\_Mahon](https://forum.dynamobim.com/u/Thomas_Mahon)
#### Post date: [November 8, 2017, 10:38pm UTC](https://forum.dynamobim.com/t/bimorphnodes-curve-intersectall-tolerance-exception-curve-length-too-small/16318/11 "2017-11-08T22:38:19Z")

</div>

@kongGBK9K thanks, lets stick with this thread.

I still cant reproduce your problem. All works fine. I thought it might be caused by the link being a long distance away from the file centre, but after testing that, it still works. Can you post your problem Revit file with link attached?

The graph below works whether I use the `Flatten` node or not (flatten should be used if you are only intersecting one curve set from the `CurveFromCADLayers` node):

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