The object needs to be a part of (or associated with) the wall in order to get its properties.
So that is why doors or windows are needed.
You may have luck with a lable object as well but it has to be used with the lable tool - not the regular object tool.
As far as I know no regular object can get wall properties.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11