Electronic – Altium: Place a component “inside” some other component

altiumfootprintpcb

I have a problem with Altium, and unfortunately, I don't even know how to google this one.

I have a board (Switch board) that is connected to another board (User interface board) via a board-to-board connector. These two boards are additionally fixed using PCB spacers. Footprint of the Switch board looks like this:

enter image description here

This footprint is used (placed) on the User interface board, and the problem is that Altium sees this component (Switch board) as a rectangle, and it doesn't allow me to place anything below it (on User interface board). To be more specific, I can't place anything on the User interface board that is within the red rectangle:

enter image description here

However, the only place that is occupied by this component (Switch board) is the connector and the two holes for PCB spacers. How can I fix this?

Thank you in advance!

Best Answer

You can create a 3D body for the PCB, and Altium will then detect collisions based on that information.