Hide Table of Contents
IMassProperty Interface Members

The following tables list the members exposed by IMassProperty.

Public Properties

 NameDescription
 PropertyCenterOfMassGets the center of mass.  
 PropertyDensityGets the density for this model.  
 PropertyMassGets the mass of this model.  
 PropertyOverrideCenterOfMassGets or sets whether to override the calculated center of mass value for the model.  
 PropertyOverrideMassGets or sets whether to override the calculated mass value for the model.  
 PropertyOverrideMomentsOfInertiaGets or sets whether to override the calculated moments of inertia for the model.  
 PropertyPrincipleAxesOfInertiaGets the principal axes of inertia for this model.  
 PropertyPrincipleMomentsOfInertiaGets the principal moments of inertia for this model.  
 PropertySurfaceAreaGets the surface area for this model.  
 PropertyUserAssignedGets whether the mass property values are user-defined or calculated for this document, regardless of which model is being edited.  
 PropertyUseSystemUnitsGets and sets whether to use system units or document units when calculating mass properties for this model.  
 PropertyVolumeGets the volume of this model.  
Top

Public Methods

 NameDescription
 MethodAddBodiesUses only the specified bodies when calculating the mass properties for this model.  
 MethodGetMomentOfInertiaGets the moment of inertia at the specified coordinate system for this model.  
 MethodIAddBodiesUses only the specified bodies when calculating the mass properties for this model.  
 MethodIGetCenterOfMassGets the center of mass for this model.  
 MethodIGetMomentOfInertiaGets the moment of inertia at the specified coordinate system for this model.  
 MethodIGetPrincipleAxesOfInertiaGets the principal axes of inertia for this model.  
 MethodIGetPrincipleMomentsOfInertiaGets the principal moments of inertia for this model.  
 MethodISetAssignedMassPropSets the mass and center of gravity for the specified configurations for this model being edited in this part or assembly document.  
 MethodISetOverrideCenterOfMassValueOverrides the center of mass of the model currently being edited in this part or assembly document.  
 MethodISetOverrideMassValueOverrides the mass of the model currently being edited in this part or assembly document.  
 MethodISetOverrideMomentsOfInertiaValueOverrides the moments of inertia of the model currently being edited in this part or assembly document.  
 MethodISetOverridePrincipleAxesOrientationOverrides the orientation of the specified principal axis of inertia for the model currently being edited in this part or assembly document.  
 MethodISetOverridePrincipleMomentsOfInertiaOverrides the principal moments of inertia of the model currently being edited in this part or assembly document.  
 MethodSetAssignedMassPropSets the mass and center of gravity for the specified configurations for this model being edited in this part or assembly document.  
 MethodSetCoordinateSystemSets the coordinate system to use when calculating mass properties for this model.  
 MethodSetOverrideCenterOfMassValueOverrides the center of mass of the model currently being edited in this part or assembly document.  
 MethodSetOverrideMassValueOverrides the mass of the model currently being edited in this part or assembly document.  
 MethodSetOverrideMomentsOfInertiaValueOverrides the moments of inertia of the model currently being edited in this part or assembly document.  
 MethodSetOverridePrincipleAxesOrientationOverrides the orientation of the specified principal axis of inertia for the model currently being edited in this part or assembly document.  
 MethodSetOverridePrincipleMomentsOfInertiaOverrides the principal moments of inertia of the model currently being edited in this part or assembly document.  
Top

See Also



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

 
*Email:  
Subject:   Feedback on Help Topics
Page:   IMassProperty Interface Members
*Comment:  
*   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:

x

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
x

Web Help Content Version: API Help (English only) 2023 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.