Another possibility:
Add the crown molding in the casework family as a sweep, using a Profile.
Make sure to use reference planes and lock the model geometry of the crown mold sweep to then so the molding will "flex" when you change cabinet sizes.
Create Visibility Parameters if needed to either show or hide the crown molding once loaded into the project.
For end cabinets, use the Visibility controls/parameters to turn the molding on/off inside the project depending on your needs.
I love this!!!!
YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION