# Set x-ray of two objects inside another object

I have a mesh 'Suzanne' parented to an armature 'Armature'. Both are located inside another mesh 'Cube'. I want both 'Suzanne' and it's armature 'Armature' to be visible in the 3D view through 'Cube'. I tried setting the x-ray of 'Suzanne' and it's armature 'Armature' to True in Python, but then 'Suzanne'only appears through 'Cube'. I wonder how I can make both 'Suzanne' and it's armature 'Armature' appear through 'Cube'.

The .blend file can be found here in this Link

• Considering this is just for display anyways, could you get rid of the xray on Suzanne and instead add transparency to the cube? Jul 6 '18 at 16:24