ShadingViewStyle Class¶
-
class
NXOpen.Drawings.ShadingViewStyle¶ Bases:
objectRepresents set of Shading View style applicable to drafting views.
To obtain an instance of this class use
Drawings.ViewStyle.Shading()New in version NX5.0.0.
Properties¶
| Property | Description |
|---|---|
| CustomAngleTolerance | Returns or sets the custom angle tolerance. |
| CustomEdgeTolerance | Returns or sets the custom edge tolerance. |
| CustomFaceTolerance | Returns or sets the custom face tolerance. |
| OverrideHiddenWireframeColor | Returns or sets the hidden wireframe override color. |
| OverrideVisibleWireframeColor | Returns or sets the visible wireframe override color. |
| RenderingStyle | Returns or sets the rendering style. |
| ShadedCutFaceColor | Returns or sets the shaded cut face color. |
| ShadingTolerance | Returns or sets the shading tolerance. |
| Shininess | Returns or sets the shininess tolerance. |
| TwoSidedLight | Returns or sets the two sided light toggle data. |
Methods¶
Property Detail¶
CustomAngleTolerance¶
-
ShadingViewStyle.CustomAngleTolerance¶ Returns or sets the custom angle tolerance.
-------------------------------------Getter Method
Signature
CustomAngleToleranceReturns: Return type: float New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
CustomAngleToleranceParameters: customAngleTolerance (float) – New in version NX5.0.0.
License requirements: drafting (“DRAFTING”)
CustomEdgeTolerance¶
-
ShadingViewStyle.CustomEdgeTolerance¶ Returns or sets the custom edge tolerance.
-------------------------------------Getter Method
Signature
CustomEdgeToleranceReturns: Return type: float New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
CustomEdgeToleranceParameters: customEdgeTolerance (float) – New in version NX5.0.0.
License requirements: drafting (“DRAFTING”)
CustomFaceTolerance¶
-
ShadingViewStyle.CustomFaceTolerance¶ Returns or sets the custom face tolerance.
-------------------------------------Getter Method
Signature
CustomFaceToleranceReturns: Return type: float New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
CustomFaceToleranceParameters: customFaceTolerance (float) – New in version NX5.0.0.
License requirements: drafting (“DRAFTING”)
OverrideVisibleWireframeColor¶
-
ShadingViewStyle.OverrideVisibleWireframeColor¶ Returns or sets the visible wireframe override color.
The value should be between 1 and 216.
-------------------------------------Getter Method
Signature
OverrideVisibleWireframeColorReturns: Return type: int New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
OverrideVisibleWireframeColorParameters: overrideVisibleWireframeColor (int) – New in version NX5.0.0.
License requirements: drafting (“DRAFTING”)
RenderingStyle¶
-
ShadingViewStyle.RenderingStyle¶ Returns or sets the rendering style.
-------------------------------------Getter Method
Signature
RenderingStyleReturns: Return type: NXOpen.Preferences.ShadingRenderingStyleOptionNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
RenderingStyleParameters: renderingStyleOption ( NXOpen.Preferences.ShadingRenderingStyleOption) –New in version NX5.0.0.
License requirements: drafting (“DRAFTING”)
ShadedCutFaceColor¶
-
ShadingViewStyle.ShadedCutFaceColor¶ Returns or sets the shaded cut face color.
The value should be between 1 and 216.
-------------------------------------Getter Method
Signature
ShadedCutFaceColorReturns: Return type: int New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ShadedCutFaceColorParameters: shadedCutFaceColor (int) – New in version NX5.0.0.
License requirements: drafting (“DRAFTING”)
ShadingTolerance¶
-
ShadingViewStyle.ShadingTolerance¶ Returns or sets the shading tolerance.
-------------------------------------Getter Method
Signature
ShadingToleranceReturns: Return type: NXOpen.Preferences.ShadingToleranceOptionNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ShadingToleranceParameters: shadingTolerance ( NXOpen.Preferences.ShadingToleranceOption) –New in version NX5.0.0.
License requirements: drafting (“DRAFTING”)
Shininess¶
-
ShadingViewStyle.Shininess¶ Returns or sets the shininess tolerance.
-------------------------------------Getter Method
Signature
ShininessReturns: Return type: float New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ShininessParameters: shininessTolerance (float) – New in version NX5.0.0.
License requirements: drafting (“DRAFTING”)
TwoSidedLight¶
-
ShadingViewStyle.TwoSidedLight¶ Returns or sets the two sided light toggle data.
-------------------------------------Getter Method
Signature
TwoSidedLightReturns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
TwoSidedLightParameters: twoSidedLight (bool) – New in version NX5.0.0.
License requirements: drafting (“DRAFTING”)