So, in the design there is a hole. When I open the item in Bambu Studio, and I press slice, there is a hole. I can set the slicer to stop at the correct hight, to drop in the magnet, and this works.
Yet, the part uses 4 colors, therefore, I have to split the STL’s in Parts, so I can select colors for the parts. When I do this, the negative space has also become a part, and it is getting filled with infill.
I have no idea if there is a better way, but the “hack” I would try is to have a very thin “tube” connecting the void to the outside creating a single volume.
I have had a similar issue with text. I like to convert text to modifiers as it avoids height and slicing issues.
While fiddling around with those, I found that you can play with the order in which modifiers are applied. Switching to object settings, and as I remember, settings are applied top to bottom. So a modifier sitting above another modifier will be overwritten by the lower modifier in the shared volume.
=> It may be worth a shot to play around with the order of the items in the assembly.