# Dynamic Door Component

**URL:** <https://forums.sketchup.com/t/dynamic-door-component/96234>\
**Category:** Pro\
**Created:** [May 28, 2019, 4:40pm UTC](https://forums.sketchup.com/t/dynamic-door-component/96234 "2019-05-28T16:40:28Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [May 29, 2019, 1:14pm UTC](https://forums.sketchup.com/t/dynamic-door-component/96234/4 "2019-05-29T13:14:56Z")

</div>

To simplify a component, you can delete all the hidden parts, then if required to make it work again, you would swap it with its definition. A ruby script could do this rather than manually, plus make the options inert. (again the drop-downs reactivate on the swap) To make this save file space the optional elements could to be groups so that they are not retained after deleting.(saves purging) If you like this workflow then let us know to help you set it up.  
But try a few manual ones first

Another method would be to swap the doors (using double wrap and current formula) rather than using hidden components

> [@Formulas replaced with Values when changing multiple Dynamic Component Options](https://forums.sketchup.com/t/formulas-replaced-with-values-when-changing-multiple-dynamic-component-options/20177):
>
> I wonder if anyone has seen this. I have a lot of dynamic components with many attributes - many with complex formulas. If I select 2 of the same DC’s at a time (say window & window#1), open the component options dialog and change a single value (drop down list or option etc…), not only do all of the component options change for both components (not just the values I changed) but all my formulas in the 2 attributes turn into values - the formulas are gone… If there is no work around, is there a…

---

_[View the full topic](https://forums.sketchup.com/t/dynamic-door-component/96234)._
