%brickObj.getVolume(); - Returns the volume of the brick.
Incorrect, it's the datablock.%brick.dataBlock.getVolume();
Edit: Didn't work, I tried echo($Testbrick.datablock.getvolume());
You need a capital "B" in "dataBlock"
Since when is TorqueScript case sensitive?