# Problem with dynamic components not scaling when inserted into model

**URL:** <https://forums.sketchup.com/t/problem-with-dynamic-components-not-scaling-when-inserted-into-model/132476>\
**Category:** Pro\
**Tags:** dynamiccomponents, scaling\
**Created:** [August 1, 2020, 1:37pm UTC](https://forums.sketchup.com/t/problem-with-dynamic-components-not-scaling-when-inserted-into-model/132476 "2020-08-01T13:37:39Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeffhollings](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@jeffhollings](https://forums.sketchup.com/u/jeffhollings)\
**Post date:** [August 1, 2020, 1:37pm UTC](https://forums.sketchup.com/t/problem-with-dynamic-components-not-scaling-when-inserted-into-model/132476/1 "2020-08-01T13:37:40Z")

</div>

I have a dynamic component (nested) that scales correctly in the development model but will not scale when inserted in a new model. Have tried turning the scaling attribute off and on in the dynamic component during creation but it does not seem to make any difference. When inserted it appears all the scaling grips are at the axis location for the dynamic component

---

<div class="post-metadata">

**Author:** ![DaveR](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/daver/32/7601_2.png) [@DaveR](https://forums.sketchup.com/u/DaveR)\
**Post date:** [August 1, 2020, 1:44pm UTC](https://forums.sketchup.com/t/problem-with-dynamic-components-not-scaling-when-inserted-into-model/132476/2 "2020-08-01T13:44:34Z")

</div>

How are you inserting the component? If you saved the component as a SketchUp file and then use File\>Import to insert it into another file, you find it is double wrapped. If that’s the case, you should see it behave as expected if you open the top level component container. You could explode that top level container, too.

And, if that is indeed what you are experiencing, you could avoid that by first saving the component you made via the Components panel and then inserting it into your model through the Components panel instead of using File\>Import.

---

<div class="post-metadata">

**Author:** ![jeffhollings](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@jeffhollings](https://forums.sketchup.com/u/jeffhollings)\
**Post date:** [August 1, 2020, 2:23pm UTC](https://forums.sketchup.com/t/problem-with-dynamic-components-not-scaling-when-inserted-into-model/132476/3 "2020-08-01T14:23:13Z")

</div>

Thanks for the reply. It was created in a separate model and saved using the component panel. Not sure how to insert using the component panel when created in a separate model.

---

<div class="post-metadata">

**Author:** ![DaveR](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/daver/32/7601_2.png) [@DaveR](https://forums.sketchup.com/u/DaveR)\
**Post date:** [August 1, 2020, 2:28pm UTC](https://forums.sketchup.com/t/problem-with-dynamic-components-not-scaling-when-inserted-into-model/132476/4 "2020-08-01T14:28:27Z")

</div>

To insert the component into a separate model you would need to open the folder you saved the component into using the Details menu on the right side of the Components panel. Use Open or create a local collection…

![Screenshot - 8_1_2020 , 9_25_09 AM](https://global.discourse-cdn.com/sketchup/original/3X/5/5/550359903d0c6580ef43db8c3e58424bf1b579b1.png)

![Screenshot - 8_1_2020 , 9_25_53 AM](https://global.discourse-cdn.com/sketchup/original/3X/6/f/6fa546d7c3abbf646c979a80c1248c7d4d2c40b4.png)

Then you can drag the component into the model space.

> [@jeffhollings](#):
>
> It was created in a separate model and saved using the component panel.

What steps did you take to save it using the Components panel?

---

<div class="post-metadata">

**Author:** ![jeffhollings](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@jeffhollings](https://forums.sketchup.com/u/jeffhollings)\
**Post date:** [August 1, 2020, 9:20pm UTC](https://forums.sketchup.com/t/problem-with-dynamic-components-not-scaling-when-inserted-into-model/132476/5 "2020-08-01T21:20:48Z")

</div>

Many thanks as this has really helped. Able to insert it and grips work when inserted from a collection. Not sure why this approach works versus the import approach.

---

<div class="post-metadata">

**Author:** ![DaveR](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/daver/32/7601_2.png) [@DaveR](https://forums.sketchup.com/u/DaveR)\
**Post date:** [August 1, 2020, 9:35pm UTC](https://forums.sketchup.com/t/problem-with-dynamic-components-not-scaling-when-inserted-into-model/132476/6 "2020-08-01T21:35:07Z")

</div>

> [@jeffhollings](#):
>
> Not sure why this approach works versus the import approach.

Consider that a component is basically a SketchUp model on its own. If you have that component in a model and then save it, then import it you will find it is double wrapped.

Try this to clarify. In a blank file model a simple shape such as a box or cylinder. Do no make a component. Then save it via File\>Save. Then start a new file and use File\>Import to add that file you just saved. You’ll see it imports as a component with the file name you used when you saved it.

Start over. This time make the shape and create a component before saving the file. Then repeat the new model, import process. You’ll see the component comes in double wrapped.

As I said before, if you do use File\>Import with your DCs you could just explode the outer wrapper to get rid of it.

---

<div class="post-metadata">

**Author:** ![jeffhollings](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@jeffhollings](https://forums.sketchup.com/u/jeffhollings)\
**Post date:** [August 1, 2020, 10:59pm UTC](https://forums.sketchup.com/t/problem-with-dynamic-components-not-scaling-when-inserted-into-model/132476/7 "2020-08-01T22:59:31Z")

</div>

OK. But how does saving it to a collection overcome the double wrapper?

---

<div class="post-metadata">

**Author:** ![DaveR](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/daver/32/7601_2.png) [@DaveR](https://forums.sketchup.com/u/DaveR)\
**Post date:** [August 1, 2020, 11:01pm UTC](https://forums.sketchup.com/t/problem-with-dynamic-components-not-scaling-when-inserted-into-model/132476/8 "2020-08-01T23:01:05Z")

</div>

When you drag the component from In Model to the local collection you are saving the component itself as a .skp file. You aren’t saving the component in another .skp file like you are with File\>Save.

---

<div class="post-metadata">

**Author:** ![jeffhollings](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@jeffhollings](https://forums.sketchup.com/u/jeffhollings)\
**Post date:** [August 1, 2020, 11:16pm UTC](https://forums.sketchup.com/t/problem-with-dynamic-components-not-scaling-when-inserted-into-model/132476/9 "2020-08-01T23:16:19Z")

</div>

Got it - many thanks

---

<div class="post-metadata">

**Author:** ![jeffhollings](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@jeffhollings](https://forums.sketchup.com/u/jeffhollings)\
**Post date:** [August 1, 2020, 11:20pm UTC](https://forums.sketchup.com/t/problem-with-dynamic-components-not-scaling-when-inserted-into-model/132476/10 "2020-08-01T23:20:03Z")

</div>

Sorry to bug you but can I use IF-THEN-ELSE logic in a dynamic component attribute setting?

---

<div class="post-metadata">

**Author:** ![DaveR](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/daver/32/7601_2.png) [@DaveR](https://forums.sketchup.com/u/DaveR)\
**Post date:** [August 1, 2020, 11:28pm UTC](https://forums.sketchup.com/t/problem-with-dynamic-components-not-scaling-when-inserted-into-model/132476/11 "2020-08-01T23:28:00Z")

</div>

I believe so but that part seems like a thing for @pcmoor as he is our resident Dynamic Component expert.

---

<div class="post-metadata">

**Author:** ![jeffhollings](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@jeffhollings](https://forums.sketchup.com/u/jeffhollings)\
**Post date:** [August 1, 2020, 11:34pm UTC](https://forums.sketchup.com/t/problem-with-dynamic-components-not-scaling-when-inserted-into-model/132476/12 "2020-08-01T23:34:57Z")

</div>

Thanks Dave - much appreciated.

---

<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:** [August 1, 2020, 11:55pm UTC](https://forums.sketchup.com/t/problem-with-dynamic-components-not-scaling-when-inserted-into-model/132476/13 "2020-08-01T23:55:36Z")

</div>

`= if (condition, then, else)`

[https://help.sketchup.com/en/sketchup/dynamic-components-logical-f](https://help.sketchup.com/en/sketchup/dynamic-components-logical-f)  
 ![Capture](https://global.discourse-cdn.com/sketchup/original/3X/d/b/db39bed8ee3166a8f1907dc08c1c97b46c87f209.jpeg) unction-examples

---

<div class="post-metadata">

**Author:** ![Krstn](https://avatars.discourse-cdn.com/v4/letter/k/35a633/32.png) [@Krstn](https://forums.sketchup.com/u/Krstn)\
**Post date:** [October 20, 2022, 10:22pm UTC](https://forums.sketchup.com/t/problem-with-dynamic-components-not-scaling-when-inserted-into-model/132476/14 "2022-10-20T22:22:29Z")

</div>

This whole thread is a fantastic resource, thank you so much for bothering to explain what Sketchup is thinking, not just the fix itself.
