Solid Edge Part Type Library
GetPhysicalPropertiesRelativeToCoordinateSystem Method
Returns the coordinate system relative to which the model's properties are computed.
Returns the density used when calculating the physical properties.
Returns the accuracy used when computing the physical properties.
Returns the volume of the model.
Returns the surface area of the model.
Returns the mass of the model.
Returns three values that specify the x, y, and z coordinates of the center of gravity of the model.
Returns three values that specify the x, y, and z coordinates of the center of volume of the model.
Returns six values that specify the Ixx, Iyy, Izz, Ixy, Ixz, and Iyz components of the global moments of inertia.
Returns three values that specify the Ixx, Iyy, and Izz components of the principle moments of inertia.
Returns nine values that specify the orientation of the principle axes.
Returns three values that specify the radii of gyration.
Returns the actual accuracy achieved when calculating the physical properties. The accuracy parameter specifies the maximum accuracy, but depending on the geometry of the model, the physical properties can be calculated more accurately.
Description
Gets Physical Properties relative to the given coordinate system.
Syntax
Visual Basic
Public Sub GetPhysicalPropertiesRelativeToCoordinateSystem( _
   ByVal InCoordinateSystem As Object, _
   ByRef Status As Integer, _
   ByRef Density As Double, _
   ByRef Accuracy As Double, _
   ByRef Volume As Double, _
   ByRef Area As Double, _
   ByRef Mass As Double, _
   ByRef CenterOfGravity() As Double, _
   ByRef CenterOfVolume() As Double, _
   ByRef GlobalMomentsOfInteria() As Double, _
   ByRef PrincipalMomentsOfInteria() As Double, _
   ByRef PrincipalAxes() As Double, _
   ByRef RadiiOfGyration() As Double, _
   ByRef RelativeAccuracyAchieved As Double _
) 
Parameters
InCoordinateSystem
Returns the coordinate system relative to which the model's properties are computed.
Status
Density
Returns the density used when calculating the physical properties.
Accuracy
Returns the accuracy used when computing the physical properties.
Volume
Returns the volume of the model.
Area
Returns the surface area of the model.
Mass
Returns the mass of the model.
CenterOfGravity
Returns three values that specify the x, y, and z coordinates of the center of gravity of the model.
CenterOfVolume
Returns three values that specify the x, y, and z coordinates of the center of volume of the model.
GlobalMomentsOfInteria
Returns six values that specify the Ixx, Iyy, Izz, Ixy, Ixz, and Iyz components of the global moments of inertia.
PrincipalMomentsOfInteria
Returns three values that specify the Ixx, Iyy, and Izz components of the principle moments of inertia.
PrincipalAxes
Returns nine values that specify the orientation of the principle axes.
RadiiOfGyration
Returns three values that specify the radii of gyration.
RelativeAccuracyAchieved
Returns the actual accuracy achieved when calculating the physical properties. The accuracy parameter specifies the maximum accuracy, but depending on the geometry of the model, the physical properties can be calculated more accurately.
Remarks
The properties returned are the current properties stored with the model, which means they can be not computed yet, out-of-date, or up-to-date. To calculate properties for the first time relative to a coordinate system, or to update the properties, use the ComputePhysicalPropertiesRelativeToCoordinateSystem method.
See Also

Model Object  | Model Members