Size difference when replacing a component


I just learned about the replace component feature and found it very useful. So was trying to embed it to one of my models so I can easily replace the doors.

Even though the sizes of the both the doors, i.e Doors on the wardrobe and the door behind to be replaced with, are the same. when replaced it comes out to be different.

Why does that happen ? I have given the size of the door to be the same as the previous door in Dynamic attributes.

I have attached the model below.

door-replace-component-scale.skp (452.2 KB)

Thank you.

If one component has been scaled without updating its definition, the sizes will be different. You would need to first make sure the definition of the component and/or any child components inside are updated.

In a dynamic component resizing is always a scaling operation. The definitions of the internal components don’t get updated when you change the size of the parent. Also, when you modify the DC in the model, it doesn’t change the definition of the original component.

1 Like

So, What can actually be done here to make it work?

scale it down to 1:1 and make the new component ?
Sorry, didn’t understand it well.

Thank You

Scaling to 1:1 isn’t really a thing. Your components should be real world size. If you’ve modified a dynamic component you’ll need to scale its definition by right clicking on the component and choosing that from the context menu. And of course if there are child components inside you would need to enter the parent component and scale the definitions of the child components.

I expect to make this work best for you, you would need to bring in the replacement component and adjust its size before using it in place of the original.

The Replace Component thing is very useful but maybe not so much for DCs because the scale (size) of the component definition is critical for this to work in an expected way. I use Replace Component frequently for things like door and drawer pulls and other hardware. Not for DCs, though.

1 Like

Thank you!

I can get my work done by just copying and deleting the older door. But i wanted to learn if there was something i could do to replace in one Click.

Might be a thing to consider what’s more useful for your modeling process. DC’s or the ability to swap components.