I've followed this tutorial, and it was simple enough to copy what was done:
But after I was finished, I realized that the air box was never turned into a Faraday cage. It remained
an air box, and even the outside diameters of the "coax", remained a vacuum, with only the center
conductors as PECs.
So how could this filter ever be used in the real world, with the resonators floating in space? Or is this
just meant to be a mathematical, electromagnetic exercise? All the bandpass filters I have seen in the
real world, had some sort of conductive filter cavities around them.
I didn't watch the video, but from my EM experience it only makes sense with background material set to PEC. It's a common setting in 3D EM tools, so that you can choose if "nothing drawn" means air or metal.
From this old thread, it seems that in HFSS you cannot choose background material, and PEC is always used. So in your case, anything outside the airbox is perfect conductor, without drawing that explicitely.
"By default Ansoft HFSS assumes that all structures are completely
encased in a conductive shield with no energy propagating through it. You
apply Wave Ports to the structure to indicate the area were the energy
enters and exits the conductive shield."
So it's not clear if the air box (and the coax vacuum cylinder) are just encased in
a PEC Faraday cage, or if everything outside the air box and coax cylinders are
PEC, but either way, the 3-D EM solution would be the same.