Hide Table of Contents
GetPrincipalAxesOfInertia Method (ICWMassPropertiesManager)

Gets the principal axes of inertia with respect to the center of mass.

.NET Syntax

Visual Basic (Declaration) 
Function GetPrincipalAxesOfInertia() As System.Object
Visual Basic (Usage) 
Dim instance As ICWMassPropertiesManager
Dim value As System.Object
value = instance.GetPrincipalAxesOfInertia()
System.object GetPrincipalAxesOfInertia()
System.Object^ GetPrincipalAxesOfInertia(); 

Return Value

2D array of vector coefficients of the three principal axes of inertia (see Remarks)


See the ICWMassPropertiesManager examples.


A principal axis is one of three mutually perpendicular axes in a body about which the moment of inertia is at a maximum.

This method returns nine doubles as follows:

     [ axis1_lx, axis1_ly, axis1_lz, axis2_lx, axis2_ly, axis2_lz, axis3_lx, axis3_ly, axis3_lz ]


See Also


SOLIDWORKS Simulation API 2017 SP0

Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

Subject:   Feedback on Help Topics
Page:   GetPrincipalAxesOfInertia Method (ICWMassPropertiesManager)
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:


We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again

Web Help Content Version: API Help (English only) 2017 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.