Hello everyone,
I'm trying to design dynamic component for my design business that allows sizing in all three dimensions as well as allowing the selection of key parameters such as:
Kickheight
Kickdepth
Side thickness
Drawer Gap
Back recess and thickness
and size of drawers
All was going well until I tried replicating the drawers. Each Drawer consists of a Drawer Box and a Drawer Face. I designed the top drawer and then replicated it twice. I renamed each of them Drawer 1, Drawer 2, and Drawer 3 and made the appropriate changes to each in terms of position (z-height) and visibility based on user selectable parameters.
I then changed the references for the Drawer Box and Drawer Face for each of them to reference the appropriate parent instance.
Now the mystery for me. The size attributes of the Drawer Faces in each of the Drawer instantiations are interconnected (change in any affects all instantiations) but not so with the drawer boxes.
i.e. If I change the Drawer Face attribute LenX in Drawer 1 to "Drawer 1!Lenx" the LenX attribute in the Drawer Boxes for Drawer 2 and Drawer 3 change as well to "Drawer 1!LenX" and I get an error because "Drawer 1!LenX" is outside of the scope of either the Drawer 2 or Drawer 3 object.
I would think the same behaviour would occur in both the Drawer Boxes and the Drawer Faces but that doesn't seem to be the case.
I tried setting LenX, LenY, and LenZ in the Drawer Box definition to Width, Depth, and Height custom variables and then use those variables to reference the parent size but with no luck.
I've attached the model in question. It's unfinished and a little rough with no error checking yet (no checks on the cumulative height of the drawers not being greater than the carcase height for instance).
I know could solve this with Make Unique for the second and third drawers but I'd like to understand this behaviour.
Thoughts anyone?
Thanks,
Mike
Drawer Unit.skp