I like the script, createCylinder, sounds funny I know but if you just want four wall, a four sided cylinder is just four walls.
https://www.nabscripts.com/Downloads/downloads_en_1.php?id=6
Download “createCylinder”, put the .jsx in your Scripts Folder.
There is also create cube (check the top box to use your layers, not create new layers).
Then startup AE, and Select the 2D or 3D layers you want to put into a cylinder, Run>Script>createCylinder. In the Panel you use to Create (Creer) the Help is in English. The first parameter corresponds to the number of layers per level, four for four walls; the second to the Radius (rayon) of the cylinder, so make that half the width of the walls, 100 if the walls are 200 pixels wide. It creates a cylinder with a CONTROL layer (Null) to rotate/reposition the cylinder.
You can swap the order of the wall just by moving them up or down in the layer stack.
If you use create cube on six layers you’ll get a floor and ceiling but if they are wider than tall, you’ll get a gap so you’ll need to slide the floor up and the ceiling down, to do that, set a keyframe, disable the expression, then change the y until it fits. If no floor and ceiling, no problem.
The script automatically makes the layers 3D for you.