Overrides the orientation of the specified principal axis of inertia of the model currently being edited.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function SetOverridePrincipalAxesOrientation( _
ByVal Axis As System.Integer, _
ByVal Value As System.Object, _
ByVal AutoCorrect As System.Boolean _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IMassPropertyOverrideOptions
Dim Axis As System.Integer
Dim Value As System.Object
Dim AutoCorrect As System.Boolean
Dim value As System.Boolean
value = instance.SetOverridePrincipalAxesOrientation(Axis, Value, AutoCorrect) |
C# | |
---|
System.bool SetOverridePrincipalAxesOrientation(
System.int Axis,
System.object Value,
System.bool AutoCorrect
) |
C++/CLI | |
---|
System.bool SetOverridePrincipalAxesOrientation(
& System.int Axis,
& System.Object^ Value,
& System.bool AutoCorrect
) |
Parameters
- Axis
One of the following principal axes:
- 0 = X axis
- 1 = Y axis
- 2 = Z axis
- Value
- An array of three doubles of the x, y, and z coordinates of Axis
- AutoCorrect
- True to generate orthogonal axes, false to not
Return Value
True if the principal axis orientation successfully overridden, false if not
Remarks
See Also
Availability
SOLIDWORKS 2020 FCS, Revision Number 28.0