//Retrieve CATIInertia's feature
double thedensity;
double themass;
rc = piInertia -> GetMass([$thedensity,&themass)]
if (SUCCEEDED(rc))
{
cout <<"The Density of The Part is : "<<thedensity <<endl<<flush;
cout <<"The Mass of the Part is : "<<themass <<endl<<flush;
}
else
return;