OrientationViewStyle Class¶
-
class
NXOpen.Drawings.
OrientationViewStyle
¶ Bases:
object
Represents set of Orientation View Style Preferences applicable to drafting views.
To obtain an instance of this class use
Drawings.ViewStyle.Orientation()
New in version NX5.0.0.
Properties¶
Property | Description |
---|---|
HingeLine | Returns or sets the hinge line for an existing auxillary view. |
RotationPlane | Returns or sets the rotation plane. |
RotationXDirection | Returns or sets the rotation in x-direction for the drawing member view which stays parallel to the x-axis drawing coordinate. |
Methods¶
Method | Description |
---|---|
OrientView | Orients the view. |
Restore | Removes the associativity to the defined plane (if it existed) and returns the member view to its orientation with the model with respect to the Absolute Coordinate System. |
ReverseHingeLine | Reverse the hinge line. |
ReverseRotationVector | Reverse the rotation vector. |
Property Detail¶
HingeLine¶
-
OrientationViewStyle.
HingeLine
¶ Returns or sets the hinge line for an existing auxillary view.
-------------------------------------
Getter Method
Signature
HingeLine
Returns: Return type: NXOpen.Direction
New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
HingeLine
Parameters: hingeLine ( NXOpen.Direction
) –New in version NX5.0.0.
License requirements: drafting (“DRAFTING”)
RotationPlane¶
-
OrientationViewStyle.
RotationPlane
¶ Returns or sets the rotation plane.
-------------------------------------
Getter Method
Signature
RotationPlane
Returns: Return type: NXOpen.Xform
New in version NX5.0.0.
License requirements: drafting (“DRAFTING”)
-------------------------------------
Setter Method
Signature
RotationPlane
Parameters: plane ( NXOpen.Xform
) –New in version NX5.0.0.
License requirements: drafting (“DRAFTING”)
RotationXDirection¶
-
OrientationViewStyle.
RotationXDirection
¶ Returns or sets the rotation in x-direction for the drawing member view which stays parallel to the x-axis drawing coordinate.
The orientation of the view is associative to the x-direction.
-------------------------------------
Getter Method
Signature
RotationXDirection
Returns: Return type: NXOpen.Direction
New in version NX5.0.0.
License requirements: drafting (“DRAFTING”)
-------------------------------------
Setter Method
Signature
RotationXDirection
Parameters: xDirection ( NXOpen.Direction
) –New in version NX5.0.0.
License requirements: drafting (“DRAFTING”)
Method Detail¶
OrientView¶
-
OrientationViewStyle.
OrientView
¶ Orients the view.
Signature
OrientView(matrix)
Parameters: matrix ( NXOpen.Matrix3x3
) – Orientation relative to the absolute coordinate system. Must be orthonormal.New in version NX5.0.0.
License requirements: drafting (“DRAFTING”)
Restore¶
-
OrientationViewStyle.
Restore
¶ Removes the associativity to the defined plane (if it existed) and returns the member view to its orientation with the model with respect to the Absolute Coordinate System.
Signature
Restore()
New in version NX5.0.0.
License requirements: drafting (“DRAFTING”)