# Dynamic component units issue

**URL:** <https://forums.sketchup.com/t/dynamic-component-units-issue/90264>\
**Category:** Dynamic Components\
**Created:** [March 7, 2019, 1:43pm UTC](https://forums.sketchup.com/t/dynamic-component-units-issue/90264 "2019-03-07T13:43:38Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Simonas](https://avatars.discourse-cdn.com/v4/letter/s/f1d935/32.png) [@Simonas](https://forums.sketchup.com/u/Simonas)\
**Post date:** [March 7, 2019, 1:43pm UTC](https://forums.sketchup.com/t/dynamic-component-units-issue/90264/1 "2019-03-07T13:43:39Z")

</div>

I try to create a simple dynamic component, which would move on X axes by 90cm.  
Component Door has one component inside called Leaf.  
I’m using metric mm units and once I create component Sketchup switch units to inches in component attribute window. I switch it back to cm manually.  
So here is a problem - once I create and try to move it by 90cm it moves 228,6cm insead (90inches).  
It means Sketchup still using inches inside component even if I switched it to cm instead.

Anyone know how to fix it some hack.

 ![Untitled%20-%20SketchUp%20Pro%202018%202019-03-07%2013-11-09](https://global.discourse-cdn.com/sketchup/original/3X/e/8/e8f57bec36f1ca315673e32d4bba0d3e94bc0e7c.jpeg)

 ![Untitled%20-%20SketchUp%20Pro%202018%202019-03-07%2013-10-50](https://global.discourse-cdn.com/sketchup/original/3X/e/d/eddcfe18b004dac02d63b602a7f98b11024dd1e9.jpeg)

---

<div class="post-metadata">

**Author:** ![simoncbevans](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/simoncbevans/32/15904_2.png) [@simoncbevans](https://forums.sketchup.com/u/simoncbevans)\
**Post date:** [March 7, 2019, 2:54pm UTC](https://forums.sketchup.com/t/dynamic-component-units-issue/90264/2 "2019-03-07T14:54:02Z")

</div>

When you say

> [@Simonas](#):
>
> Component Door has one component inside called Leaf.

Do you mean that you have one component nested inside another? If so, what happens if you explode the inner component?

---

<div class="post-metadata">

**Author:** ![Wo3Dan](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/wo3dan/32/7450_2.png) [@Wo3Dan](https://forums.sketchup.com/u/Wo3Dan)\
**Post date:** [March 7, 2019, 3:27pm UTC](https://forums.sketchup.com/t/dynamic-component-units-issue/90264/3 "2019-03-07T15:27:51Z")

</div>

> [@Simonas](#):
>
> I’m using metric mm units and once I create component Sketchup switch units to inches in component attribute window. I switch it back to cm manually.

Where do you switch to metric? What ‘Model Info \> Units’ is set to does not matter.  
Upon creating the dynamic component you should switch to cm (somewhere top right in the ‘Component Attributes’ window.  
And then in the following fields work with cm

---

<div class="post-metadata">

**Author:** ![Wo3Dan](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/wo3dan/32/7450_2.png) [@Wo3Dan](https://forums.sketchup.com/u/Wo3Dan)\
**Post date:** [March 7, 2019, 3:36pm UTC](https://forums.sketchup.com/t/dynamic-component-units-issue/90264/4 "2019-03-07T15:36:59Z")

</div>

p.s. Why doesn’t it matter? The units setting in ‘Model Info \> Units’ is only how dimensions are / will currently be displayed in your modeling space.  
What is set in the ‘Component Attributes’ window is what SketchUp uses to handle the input values. Internally that will always be inches but what you set and see may be cm.

---

<div class="post-metadata">

**Author:** ![MikeWayzovski](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/mikewayzovski/32/98346_2.png) [@MikeWayzovski](https://forums.sketchup.com/u/MikeWayzovski)\
**Post date:** [March 7, 2019, 5:50pm UTC](https://forums.sketchup.com/t/dynamic-component-units-issue/90264/5 "2019-03-07T17:50:05Z")

</div>

Try a redraw: rightclick on the component, Dynamic Components-\>Redraw

---

<div class="post-metadata">

**Author:** ![Simonas](https://avatars.discourse-cdn.com/v4/letter/s/f1d935/32.png) [@Simonas](https://forums.sketchup.com/u/Simonas)\
**Post date:** [March 8, 2019, 7:26am UTC](https://forums.sketchup.com/t/dynamic-component-units-issue/90264/6 "2019-03-08T07:26:28Z")

</div>

Yes I have model units set as mm before start. But when I create a component it makes it as inches.  
The units inside component are changed here

 ![Component%20Attributes%202019-03-08%2008-20-43](https://global.discourse-cdn.com/sketchup/original/3X/4/a/4aaa00be35ba09ea93ba802bfeb6248af9c44bbd.jpeg)

---

<div class="post-metadata">

**Author:** ![Simonas](https://avatars.discourse-cdn.com/v4/letter/s/f1d935/32.png) [@Simonas](https://forums.sketchup.com/u/Simonas)\
**Post date:** [March 8, 2019, 7:28am UTC](https://forums.sketchup.com/t/dynamic-component-units-issue/90264/7 "2019-03-08T07:28:20Z")

</div>

Redraw doesn’t help.

---

<div class="post-metadata">

**Author:** ![Simonas](https://avatars.discourse-cdn.com/v4/letter/s/f1d935/32.png) [@Simonas](https://forums.sketchup.com/u/Simonas)\
**Post date:** [March 8, 2019, 7:31am UTC](https://forums.sketchup.com/t/dynamic-component-units-issue/90264/8 "2019-03-08T07:31:24Z")

</div>

Here is a skp file 2018 is anyone is interested to solve the puzzle 🙂  
[Dynamic component issue.skp](https://forums.sketchup.com/uploads/short-url/fHMDp4W8p6vKTmT5IYNMt01ajXG.skp) (180.3 KB)

---

<div class="post-metadata">

**Author:** ![pcmoor](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/pcmoor/32/3427_2.png) [@pcmoor](https://forums.sketchup.com/u/pcmoor)\
**Post date:** [March 8, 2019, 10:19am UTC](https://forums.sketchup.com/t/dynamic-component-units-issue/90264/9 "2019-03-08T10:19:32Z")

</div>

You are correct in that you need to convert inches to cm for some of the DC functions, this is true for CURRENT and FACEAREA as well, though with FACEAREA it does tell you it returns square inches

It is about time these bugs be fixed or a better system created…but it seems the propriety is to re-invent the wheel and put it on the cloud

Either place the conversion or use another intermediate attribute  
[Dynamic component issue.skp](https://forums.sketchup.com/uploads/short-url/cBzpKlD2mdqUdg8pikfvmorUmgw.skp) (179.9 KB)

---

<div class="post-metadata">

**Author:** ![mile](https://avatars.discourse-cdn.com/v4/letter/m/f1d935/32.png) [@mile](https://forums.sketchup.com/u/mile)\
**Post date:** [October 26, 2023, 2:30pm UTC](https://forums.sketchup.com/t/dynamic-component-units-issue/90264/10 "2023-10-26T14:30:27Z")

</div>

add divide by inch… ANIMATE(“Leaf!X”,0,90/2.54)

---

<div class="post-metadata">

**Author:** ![chrisa2](https://avatars.discourse-cdn.com/v4/letter/c/76d3ee/32.png) [@chrisa2](https://forums.sketchup.com/u/chrisa2)\
**Post date:** [November 17, 2023, 9:04am UTC](https://forums.sketchup.com/t/dynamic-component-units-issue/90264/11 "2023-11-17T09:04:52Z")

</div>

can’t believe this is still and issue with all the changes that have been made to trivial things like icon sets.
