This can be done either way in the footprint or layout editor.
Actually, you have two options for realising it:
OPTION1: Place a Polygon on the layer you want a cutout (just the outline), edit its Polygon Pour property to “cutout”
OPTION2: Place just a Line on the layer you want a cutout.
(Either of this options in footprint or layout editor)
Ok thank you. My problem was that in the footprint editor only the top and bot layer where selectable. I used the this command set used_layers all to make the the remaining layer visible. Now your instruction works perfectly.