How Atomic volume calculates through script files?

Dear All,

I am using Forcite modules and I wrote a code to calculate mechanical properties of some amorphous materials. I need to have the total atomic volume during deformation. Volume can be calculated by using Material Studio Visualizer through “Atom volumes & surfaces” tool bar.

I tried to solve my problem by using some commands such as “\$doc->Lattice3D->CellVolume;” “\$doc->CalculateConnollyField;”   , but I couldn’t do that.

It will be appreciated if anybody has suggestion.

Kind Regards

Saeed