ShadingViewStyle Class

class NXOpen.Drawings.ShadingViewStyle

Bases: object

Represents 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 CustomAngleTolerance

Returns:
Return type:float

New in version NX5.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature CustomAngleTolerance

Parameters: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 CustomEdgeTolerance

Returns:
Return type:float

New in version NX5.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature CustomEdgeTolerance

Parameters: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 CustomFaceTolerance

Returns:
Return type:float

New in version NX5.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature CustomFaceTolerance

Parameters:customFaceTolerance (float) –

New in version NX5.0.0.

License requirements: drafting (“DRAFTING”)

OverrideHiddenWireframeColor

ShadingViewStyle.OverrideHiddenWireframeColor

Returns or sets the hidden wireframe override color.

The value should be between 1 and 216.

-------------------------------------

Getter Method

Signature OverrideHiddenWireframeColor

Returns:
Return type:int

New in version NX5.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature OverrideHiddenWireframeColor

Parameters:overrideHiddenWireframeColor (int) –

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 OverrideVisibleWireframeColor

Returns:
Return type:int

New in version NX5.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature OverrideVisibleWireframeColor

Parameters:overrideVisibleWireframeColor (int) –

New in version NX5.0.0.

License requirements: drafting (“DRAFTING”)

RenderingStyle

ShadingViewStyle.RenderingStyle

Returns or sets the rendering style.

-------------------------------------

Getter Method

Signature RenderingStyle

Returns:
Return type:NXOpen.Preferences.ShadingRenderingStyleOption

New in version NX5.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature RenderingStyle

Parameters: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 ShadedCutFaceColor

Returns:
Return type:int

New in version NX5.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature ShadedCutFaceColor

Parameters:shadedCutFaceColor (int) –

New in version NX5.0.0.

License requirements: drafting (“DRAFTING”)

ShadingTolerance

ShadingViewStyle.ShadingTolerance

Returns or sets the shading tolerance.

-------------------------------------

Getter Method

Signature ShadingTolerance

Returns:
Return type:NXOpen.Preferences.ShadingToleranceOption

New in version NX5.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature ShadingTolerance

Parameters: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 Shininess

Returns:
Return type:float

New in version NX5.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature Shininess

Parameters: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 TwoSidedLight

Returns:
Return type:bool

New in version NX5.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature TwoSidedLight

Parameters:twoSidedLight (bool) –

New in version NX5.0.0.

License requirements: drafting (“DRAFTING”)