Seem to be Fucaro use autolisp , and no visualisp
Please be gentle with me, I work in AutoLisp only.
massprop will give you the volumen and mass
It ask you to save to a file , then you have to retrieve ti from such file
This is the result of massprop of a cube 1 unit side drawn at 0 0 0
Command: _massprop
Select objects: 1 found
Select objects:
---------------- SOLIDS ----------------
Mass: 1.0000
Volume: 1.0000
Bounding box: X: 0.0000 -- 1.0000
Y: 0.0000 -- 1.0000
Z: 0.0000 -- 1.0000
Centroid: X: 0.5000
Y: 0.5000
Z: 0.5000
Moments of inertia: X: 0.6667
Y: 0.6667
Z: 0.6667
Products of inertia: XY: 0.2500
YZ: 0.2500
ZX: 0.2500
Radii of gyration: X: 0.8165
Y: 0.8165
Z: 0.8165
Principal moments and X-Y-Z directions about centroid:
I: 0.1667 along [1.0000 0.0000 0.0000]
J: 0.1667 along [0.0000 1.0000 0.0000]
K: 0.1667 along [0.0000 0.0000 1.0000]
Press ENTER to continue:
Write analysis to a file? [Yes/No] <N>: y
This is what the such file contents
---------------- SOLIDS ----------------
Mass: 1.0000
Volume: 1.0000
Bounding box: X: 0.0000 -- 1.0000
Y: 0.0000 -- 1.0000
Z: 0.0000 -- 1.0000
Centroid: X: 0.5000
Y: 0.5000
Z: 0.5000
Moments of inertia: X: 0.6667
Y: 0.6667
Z: 0.6667
Products of inertia: XY: 0.2500
YZ: 0.2500
ZX: 0.2500
Radii of gyration: X: 0.8165
Y: 0.8165
Z: 0.8165
Principal moments and X-Y-Z directions about centroid:
I: 0.1667 along [1.0000 0.0000 0.0000]
J: 0.1667 along
[0.0000 1.0000 0.0000]
K: 0.1667 along [0.0000 0.0000 1.0000]
[/list:u]