TypeError when using python to get solid's volume

Hi, I used Autodesk.DesignScript.Geometry.Solid.Volume(solid) to get the solid’s volume but it failed with the error shown in the picture below. May I know what are the correct python scripts to get the solid’s volume? (I know there is a Solid.Volume node but I need to use it in python to get some specific solids’ volumes) Thanks!

Sorry I got it… v = solid.Volume worked…

2 Likes