# Inconsistent Length Values in Dynamic Components – What’s Happening?

**URL:** <https://forums.sketchup.com/t/inconsistent-length-values-in-dynamic-components-what-s-happening/345820>\
**Category:** Dynamic Components\
**Tags:** attribute\
**Created:** [April 1, 2026, 12:32pm UTC](https://forums.sketchup.com/t/inconsistent-length-values-in-dynamic-components-what-s-happening/345820 "2026-04-01T12:32:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Syksy](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/syksy/32/194923_2.png) [@Syksy](https://forums.sketchup.com/u/Syksy)\
**Post date:** [April 1, 2026, 12:32pm UTC](https://forums.sketchup.com/t/inconsistent-length-values-in-dynamic-components-what-s-happening/345820/1 "2026-04-01T12:32:12Z")

</div>

Hello everyone, I haven’t been around here for a while. I have a large library of dynamic components and attributes that I work with—specifically, they’re basically tubes. I extract data like length, etc.

In this case, as you can see, if you open the component window, it says the length is 600 mm, but if you measure it, it’s 900 mm. In fact, in the attributes (“distinta\_lunghezza”) it’s also 900 (which is actually the correct value). Moreover, if I press Enter on the length value, it changes to 600! How can something like this happen?

here are some pics and the file

 ![image](https://global.discourse-cdn.com/sketchup/original/4X/7/0/e/70e479871268d96dfaa434bb22e5517056d72344.png)

[wrong pipe.skp](https://forums.sketchup.com/uploads/short-url/jviZ5oA0raRzPummce5wIJTiYo.skp) (199.6 KB)

---

<div class="post-metadata">

**Author:** ![ryan.moore](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/ryan.moore/32/106089_2.png) [@ryan.moore](https://forums.sketchup.com/u/ryan.moore)\
**Post date:** [April 1, 2026, 12:46pm UTC](https://forums.sketchup.com/t/inconsistent-length-values-in-dynamic-components-what-s-happening/345820/2 "2026-04-01T12:46:28Z")

</div>

If you modify the geometry manually it breaks the DC. Open the dc and adjust the geometry to the correct size, then exit and it should be correct. Or you can use a Ruby script to fix it:

> [@DC Nominal Len X, Y and Z reset and redraw](https://forums.sketchup.com/t/dc-nominal-len-x-y-and-z-reset-and-redraw/187366):
>
> Hello All, I hope everyone is surviving the apocalypse! I am wondering if anyone could help me with a ruby script that will purge all “\_nominal\_lenx,y,z” attributes and then trigger a re-draw of the current selection. What I don’t want to do is to add a right click menu item. There are several snippets to do exactly that by @DanRathbun and @jim_foltz in the linked discussions (thanks both), I posted @jim_foltz ’s bit below. What I do want to do is paste the code into the console and hit enter t…

---

<div class="post-metadata">

**Author:** ![Syksy](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/syksy/32/194923_2.png) [@Syksy](https://forums.sketchup.com/u/Syksy)\
**Post date:** [April 1, 2026, 12:48pm UTC](https://forums.sketchup.com/t/inconsistent-length-values-in-dynamic-components-what-s-happening/345820/3 "2026-04-01T12:48:06Z")

</div>

what do you mean with manually? i only use the attribute on component options, or stretch (with the lock of direction) so that i can only modify that axe, and i do this all the time (me and all my team) and this never hapens

---

<div class="post-metadata">

**Author:** ![ryan.moore](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/ryan.moore/32/106089_2.png) [@ryan.moore](https://forums.sketchup.com/u/ryan.moore)\
**Post date:** [April 1, 2026, 12:48pm UTC](https://forums.sketchup.com/t/inconsistent-length-values-in-dynamic-components-what-s-happening/345820/4 "2026-04-01T12:48:56Z")

</div>

The model you posted is not just the pipe, can you post just the broken pipe?

---

<div class="post-metadata">

**Author:** ![ryan.moore](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/ryan.moore/32/106089_2.png) [@ryan.moore](https://forums.sketchup.com/u/ryan.moore)\
**Post date:** [April 1, 2026, 12:50pm UTC](https://forums.sketchup.com/t/inconsistent-length-values-in-dynamic-components-what-s-happening/345820/5 "2026-04-01T12:50:36Z")

</div>

Manually edit the geometry - double click into the component to edit its length.

---

<div class="post-metadata">

**Author:** ![Syksy](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/syksy/32/194923_2.png) [@Syksy](https://forums.sketchup.com/u/Syksy)\
**Post date:** [April 1, 2026, 12:54pm UTC](https://forums.sketchup.com/t/inconsistent-length-values-in-dynamic-components-what-s-happening/345820/6 "2026-04-01T12:54:46Z")

</div>

I can assure you — I’d even sign it in blood 😅 — that I never go in and modify them,I’m pretty strict about that.

You’re right, here it goes:

[wrong pipe.skp](https://forums.sketchup.com/uploads/short-url/jviZ5oA0raRzPummce5wIJTiYo.skp) (199.6 KB)

---

<div class="post-metadata">

**Author:** ![ryan.moore](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/ryan.moore/32/106089_2.png) [@ryan.moore](https://forums.sketchup.com/u/ryan.moore)\
**Post date:** [April 1, 2026, 1:01pm UTC](https://forums.sketchup.com/t/inconsistent-length-values-in-dynamic-components-what-s-happening/345820/7 "2026-04-01T13:01:45Z")

</div>

Not sure how you got it, but it is the same error fixed by the above code.

[wrong pipe - fixt.skp](https://forums.sketchup.com/uploads/short-url/uU4sznDW4RGxgWBgEl4vtULr4sN.skp) (199.4 KB)
