# VS:Moments3D

From Vectorworks Developer

Revision as of 16:04, 10 February 2016 by Orso.b.schmid (Talk | contribs)

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

## Description

Returns the moments of inertia of a 3D object about the x, y, and z axes of a point at the center of gravity of the object.FUNCTION Moments3D(

obj :HANDLE;

VAR lxx :REAL;

VAR lyy :REAL;

VAR lzz :REAL) : BOOLEAN;

def vs.Moments3D(obj): return (BOOLEAN, lxx, lyy, lzz)

## Parameters

obj HANDLE The object for which to find the 3D moments. lxx REAL The moment of inertia relative to the x-axis passing through the center of mass of object lyy REAL The moment of inertia relative to the y-axis passing through the center of mass of object lzz REAL The moment of inertia relative to the z-axis passing through the center of mass of object