# DC scaler for material does not work for copies

**URL:** <https://forums.sketchup.com/t/dc-scaler-for-material-does-not-work-for-copies/241820>\
**Category:** Pro\
**Tags:** dynamiccomponents\
**Created:** [September 16, 2023, 6:25am UTC](https://forums.sketchup.com/t/dc-scaler-for-material-does-not-work-for-copies/241820 "2023-09-16T06:25:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Asam](https://avatars.discourse-cdn.com/v4/letter/a/e480ec/32.png) [@Asam](https://forums.sketchup.com/u/Asam)\
**Post date:** [September 16, 2023, 6:25am UTC](https://forums.sketchup.com/t/dc-scaler-for-material-does-not-work-for-copies/241820/1 "2023-09-16T06:25:39Z")

</div>

Hi, I created a DC with scaler for not to scale the material. It works fine. but when I created a copy of that DC, that copy is messing up when I change the dimensions. Is there any solution for this?

---

<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:** [September 16, 2023, 7:26am UTC](https://forums.sketchup.com/t/dc-scaler-for-material-does-not-work-for-copies/241820/2 "2023-09-16T07:26:04Z")

</div>

can you post the DC?

---

<div class="post-metadata">

**Author:** ![Asam](https://avatars.discourse-cdn.com/v4/letter/a/e480ec/32.png) [@Asam](https://forums.sketchup.com/u/Asam)\
**Post date:** [September 16, 2023, 7:42am UTC](https://forums.sketchup.com/t/dc-scaler-for-material-does-not-work-for-copies/241820/3 "2023-09-16T07:42:10Z")

</div>

[drawers with scaler.skp](https://forums.sketchup.com/uploads/short-url/sVsDPW2nMfMwZKVf8kyfoeJpYR5.skp) (7.5 MB)  
It’s not completed yet. but you can check it for the drawer face area. When the no of drawers=1, It’s working perfectly. But when the no of drawers more than 1 and when you adjust the drawer width, the copy is messing.

---

<div class="post-metadata">

**Author:** ![sean86robertson](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/sean86robertson/32/162873_2.png) [@sean86robertson](https://forums.sketchup.com/u/sean86robertson)\
**Post date:** [September 16, 2023, 11:40am UTC](https://forums.sketchup.com/t/dc-scaler-for-material-does-not-work-for-copies/241820/4 "2023-09-16T11:40:10Z")

</div>

When you have copies of a component with a scaler inside they dont quite work as expected. They wont update they’re lengths as youd expect.  
A workaround i have found is to set custom function ‘active’. Using ‘onclick’ set(active,0,1) then copies can reference this attribute ie 0 copies or desired n.  
Setting to not active when scaling etc and when ready set to active. And instances will be sane size as theyre definition
