# Problem with adjusting copies with respect to height of a wardrobe cabinet in Dynamic Components

**URL:** <https://forums.sketchup.com/t/problem-with-adjusting-copies-with-respect-to-height-of-a-wardrobe-cabinet-in-dynamic-components/264673>\
**Category:** Dynamic Components\
**Tags:** sketchup, modeling, copyattribute, components, dynamiccomponents\
**Created:** [March 20, 2024, 7:24pm UTC](https://forums.sketchup.com/t/problem-with-adjusting-copies-with-respect-to-height-of-a-wardrobe-cabinet-in-dynamic-components/264673 "2024-03-20T19:24:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MightyAnil](https://avatars.discourse-cdn.com/v4/letter/m/3da27b/32.png) [@MightyAnil](https://forums.sketchup.com/u/MightyAnil)\
**Post date:** [March 20, 2024, 7:24pm UTC](https://forums.sketchup.com/t/problem-with-adjusting-copies-with-respect-to-height-of-a-wardrobe-cabinet-in-dynamic-components/264673/1 "2024-03-20T19:24:48Z")

</div>

hey there guys!

I’m trying to create a dynamic component of a wardrobe with shelves. So everything was going smoothly and suddenly i stopped at creating copies of shelves with respect to height, for suppose i’m creating a wardrobe of 2400 mm height and number of shelves i’m using is 5 with 350 mm spacing. so for a wardrobe of 2550 mm height i still want 5 shelves but 6th shelves is coming at the top.

what should i do to make them match with respect to height?? Please give me an explanation on how i can solve 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:** [March 21, 2024, 12:10am UTC](https://forums.sketchup.com/t/problem-with-adjusting-copies-with-respect-to-height-of-a-wardrobe-cabinet-in-dynamic-components/264673/2 "2024-03-21T00:10:16Z")

</div>

use floor(lenz/spacing)?

please load file for specific answer
