Dynamic component : Fitable Extrusion in a volume

I create dynamic components
the face
a window → Parameters : X,Y,Z, LenX, LenY, LenZ (in the face)
a door → Parameters : X,Y,Z, LenX, LenY, LenZ (in the face)

Is there a method to cut the face dynamicaly on place of the window and the door please ?

Bruno G

I suggest you should create a DC volume that has a gluing and cutting face to retain the door or window.
The inner elements can be positioned and controlled as you seem fit

to create this container

some examples

Single leaf cut opening | 3D Warehouse (sketchup.com)

Multi-cut wall opening | 3D Warehouse (sketchup.com)

Hello Philip

I thank you all ! Your video suits perfectly what I planed to do !

Have a nice week-end and best meanings from eastern France