BRX API for creation of walls

I trying to code for creation of walls similar to how Polysolid->walls are created.
But i have no idea which functions or classes in **BRX **will help me achieve this
Can someone pls help?'