Overrides the calculated moments of inertia of the model currently being edited.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function SetOverrideMomentsOfInertiaValue( _
ByVal ReferenceFrame As System.Integer, _
ByVal Value As System.Object, _
ByVal CoordinateSystemName As System.String _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IMassPropertyOverrideOptions
Dim ReferenceFrame As System.Integer
Dim Value As System.Object
Dim CoordinateSystemName As System.String
Dim value As System.Boolean
value = instance.SetOverrideMomentsOfInertiaValue(ReferenceFrame, Value, CoordinateSystemName) |
Parameters
- ReferenceFrame
- Frame of reference as defined in swMomentsOfInertiaReferenceFrame_e
- Value
- Array of nine doubles: [ Lxx, Lxy, Lxz, Lyx, Lyy, Lyz, Lzx, Lzy, Lzz ]
- CoordinateSystemName
- Name of coordinate system; valid only if ReferenceFrame = swMomentsOfInertiaReferenceFrame_e.swMomentsOfInertiaReferenceFrame_UserCoordinateSystem
Return Value
True if the moments of inertia are successfully overridden, false if not
Example
Remarks
See Also
Availability
SOLIDWORKS 2020 FCS, Revision Number 28.0