# PolyCurve.ByThickneningCurveNormal Bug

**URL:** <https://forum.dynamobim.com/t/polycurve-bythickneningcurvenormal-bug/91704>\
**Category:** Geometry\
**Tags:** bugs, dynamo\
**Created:** [July 12, 2023, 8:59am UTC](https://forum.dynamobim.com/t/polycurve-bythickneningcurvenormal-bug/91704 "2023-07-12T08:59:23Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![bayowindapo](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/bayowindapo/32/184532_2.png) [@bayowindapo](https://forum.dynamobim.com/u/bayowindapo)\
**Post date:** [July 12, 2023, 8:59am UTC](https://forum.dynamobim.com/t/polycurve-bythickneningcurvenormal-bug/91704/1 "2023-07-12T08:59:23Z")

</div>

Hi All

There seems to be a strange bug on the PolyCurve.ByThickneningCurveNormal node. I had to divide my millimetre value by 100 for it to be the actual value required for my graph.  
Please see the image below.  
Thank you.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/9/199f5b761c920bba0afe662df42c4f9050dd3ad6.png)

@solamour @jacob.small

---

<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:** [July 12, 2023, 9:54am UTC](https://forum.dynamobim.com/t/polycurve-bythickneningcurvenormal-bug/91704/2 "2023-07-12T09:54:54Z")

</div>

Which version of Dynamo are you in? I have found that this node in particular has some bugs that have been introduced at some point along the way. In order to get around this I’m some Python (or in some cases C#) code that has the added benefit of allowing for a left and right offset… I’ll dig it up later tooday.

Also what values are you seeing before doing the division? Can you build a simple use case with the error and expected results?

---

<div class="post-metadata">

**Author:** ![bayowindapo](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/bayowindapo/32/184532_2.png) [@bayowindapo](https://forum.dynamobim.com/u/bayowindapo)\
**Post date:** [July 12, 2023, 11:00am UTC](https://forum.dynamobim.com/t/polycurve-bythickneningcurvenormal-bug/91704/3 "2023-07-12T11:00:03Z")

</div>

Hi Jacob

I entered a value of 7000mm (7 meters) into the node and instead got a polycurve at a width of 700,000mm. Dividing it by 100 takes it down to the intended value.  
See the image below for the Dynamo version and dyn script attached.  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/7/8799c6ee9b6efc2c3b8fe27de4b317ed7a4a3f54.png)  
[Polycurve thicken error.dyn](https://forum.dynamobim.com/uploads/short-url/3c76HFqaqXHBIKFeRNQZnmj2PGw.dyn) (28.9 KB)

---

<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:** [July 12, 2023, 11:08am UTC](https://forum.dynamobim.com/t/polycurve-bythickneningcurvenormal-bug/91704/4 "2023-07-12T11:08:39Z")

</div>

Can you confirm you’re in Revit 2024.0?

---

<div class="post-metadata">

**Author:** ![bayowindapo](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/bayowindapo/32/184532_2.png) [@bayowindapo](https://forum.dynamobim.com/u/bayowindapo)\
**Post date:** [July 12, 2023, 11:13am UTC](https://forum.dynamobim.com/t/polycurve-bythickneningcurvenormal-bug/91704/5 "2023-07-12T11:13:33Z")

</div>

Correct!

---

<div class="post-metadata">

**Author:** ![bayowindapo](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/bayowindapo/32/184532_2.png) [@bayowindapo](https://forum.dynamobim.com/u/bayowindapo)\
**Post date:** [July 12, 2023, 11:32am UTC](https://forum.dynamobim.com/t/polycurve-bythickneningcurvenormal-bug/91704/6 "2023-07-12T11:32:58Z")

</div>

Sorry, Jacob. I am actually in Revit 2024.1.

---

<div class="post-metadata">

**Author:** ![Daan](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/daan/32/82246_2.png) [@Daan](https://forum.dynamobim.com/u/Daan)\
**Post date:** [July 12, 2023, 11:50am UTC](https://forum.dynamobim.com/t/polycurve-bythickneningcurvenormal-bug/91704/7 "2023-07-12T11:50:10Z")

</div>

Hi @bayowindapo ,

What are your units set to in Revit? I’ve seen cases where the units in the host program heavily influenced the values in Dynamo.

---

<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:** [July 12, 2023, 12:18pm UTC](https://forum.dynamobim.com/t/polycurve-bythickneningcurvenormal-bug/91704/8 "2023-07-12T12:18:13Z")

</div>

Sadly I haven’t updated yet (had a deadline this morning which has slowed me down). Hope to be current by the end of the day.

---

<div class="post-metadata">

**Author:** ![bayowindapo](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/bayowindapo/32/184532_2.png) [@bayowindapo](https://forum.dynamobim.com/u/bayowindapo)\
**Post date:** [July 12, 2023, 12:31pm UTC](https://forum.dynamobim.com/t/polycurve-bythickneningcurvenormal-bug/91704/9 "2023-07-12T12:31:04Z")

</div>

Hello.  
My units are in millimetres.

---

<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:** [July 12, 2023, 2:55pm UTC](https://forum.dynamobim.com/t/polycurve-bythickneningcurvenormal-bug/91704/10 "2023-07-12T14:55:51Z")

</div>

@bayowindapo I was unable to reproduce the issue, and the issue I was previously struggling with has also been resolved.

Root cause for your graph might be something else in the graph or related to your system configuration. If you post the graph I’ll have a look and see if I can reproduce with that in place.

---

<div class="post-metadata">

**Author:** ![bayowindapo](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/bayowindapo/32/184532_2.png) [@bayowindapo](https://forum.dynamobim.com/u/bayowindapo)\
**Post date:** [July 13, 2023, 11:12am UTC](https://forum.dynamobim.com/t/polycurve-bythickneningcurvenormal-bug/91704/11 "2023-07-13T11:12:52Z")

</div>

Hello Jacob

I have tested it all over ten computers in our office and they all have the same problem.  
I made a new project in feet and the issue still persists.  
So I do not think it is a units issue. We work in millimeters.

---

<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:** [July 13, 2023, 11:23am UTC](https://forum.dynamobim.com/t/polycurve-bythickneningcurvenormal-bug/91704/12 "2023-07-13T11:23:45Z")

</div>

Hmm… Neither Sol or I were able to reproduce.

Can you reproduce with a simple graph that does something like selects a model line, gets the geometry, and builds a polycurve by thickening curve that’s say 100 units?

---

<div class="post-metadata">

**Author:** ![bayowindapo](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/bayowindapo/32/184532_2.png) [@bayowindapo](https://forum.dynamobim.com/u/bayowindapo)\
**Post date:** [July 13, 2023, 11:27am UTC](https://forum.dynamobim.com/t/polycurve-bythickneningcurvenormal-bug/91704/13 "2023-07-13T11:27:00Z")

</div>

Hello. Will do soon. Thank you.

---

<div class="post-metadata">

**Author:** ![bayowindapo](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/bayowindapo/32/184532_2.png) [@bayowindapo](https://forum.dynamobim.com/u/bayowindapo)\
**Post date:** [August 8, 2023, 8:40am UTC](https://forum.dynamobim.com/t/polycurve-bythickneningcurvenormal-bug/91704/14 "2023-08-08T08:40:51Z")

</div>

Hi Jacob

Sorry about the late response.  
I have been travelling. Here is the graph.  
[Thicken Curve.dyn](https://forum.dynamobim.com/uploads/short-url/6S0hegF83QMfKGhzFZalKRnYQvw.dyn) (8.7 KB)
