ViewStyleShadingBuilder Class

class NXOpen.Drawings.ViewStyleShadingBuilder

Bases: NXOpen.TaggedObject, NXOpen.GeometricUtilities.IComponentBuilder

Represents the SHADING tab on the View Style Dialog (Drawings.

ViewStyleShadingBuilder)

New in version NX6.0.0.

Properties

Property Description
AngleTolerance Returns or sets the angle tolerance data on the SHADING tab of the View Style Dialog
CutFaceColor Returns or sets the cut face color on the SHADING tab of the View Style Dialog
EdgeTolerance Returns or sets the edge tolerance data on the SHADING tab of the View Style Dialog
FaceTolerance Returns or sets the face tolerance data on the SHADING tab of the View Style Dialog
HiddenWireframeColor Returns or sets the hidden wireframe color on the SHADING tab of the View Style Dialog
RenderingStyle Returns or sets the rendering style option on the SHADING tab of the View Style Dialog
ShadeTolerance Returns or sets the shade tolerance option on the SHADING tab of the View Style Dialog
ShininessScale Returns or sets the shininess scale data on the SHADING tab of the View Style Dialog
Tag Returns the Tag for this object.
TwoSidedLight Returns or sets the two sided light toggle on the SHADING tab of the View Style Dialog
VisibleWireframeColor Returns or sets the visible wireframe color on the SHADING tab of the View Style Dialog

Methods

Method Description
Validate Validate whether the inputs to the component are sufficient for commit to be called.

Property Detail

AngleTolerance

ViewStyleShadingBuilder.AngleTolerance

Returns or sets the angle tolerance data on the SHADING tab of the View Style Dialog

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

Getter Method

Signature AngleTolerance

Returns:Returns the angle tolerance that is on the shading sub-builder
Return type:float

New in version NX6.0.0.

License requirements: None.

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

Setter Method

Signature AngleTolerance

Parameters:angleToleranceData (float) – Sets a new angle tolerance on the shading sub-builder

New in version NX6.0.0.

License requirements: drafting (“DRAFTING”)

CutFaceColor

ViewStyleShadingBuilder.CutFaceColor

Returns or sets the cut face color on the SHADING tab of the View Style Dialog

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

Getter Method

Signature CutFaceColor

Returns:Returns the cut face color that is on the shading sub-builder
Return type:Id

New in version NX6.0.0.

License requirements: None.

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

Setter Method

Signature CutFaceColor

Parameters:cutFaceColor (Id) – Sets a new cut face color on the shading sub-builder

New in version NX6.0.0.

License requirements: drafting (“DRAFTING”)

EdgeTolerance

ViewStyleShadingBuilder.EdgeTolerance

Returns or sets the edge tolerance data on the SHADING tab of the View Style Dialog

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

Getter Method

Signature EdgeTolerance

Returns:Returns the edge tolerance that is on the shading sub-builder
Return type:float

New in version NX6.0.0.

License requirements: None.

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

Setter Method

Signature EdgeTolerance

Parameters:edgeToleranceData (float) – Sets a new edge tolerance on the shading sub-builder

New in version NX6.0.0.

License requirements: drafting (“DRAFTING”)

FaceTolerance

ViewStyleShadingBuilder.FaceTolerance

Returns or sets the face tolerance data on the SHADING tab of the View Style Dialog

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

Getter Method

Signature FaceTolerance

Returns:Returns the face tolerance that is on the shading sub-builder
Return type:float

New in version NX6.0.0.

License requirements: None.

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

Setter Method

Signature FaceTolerance

Parameters:faceToleranceData (float) – Sets a new face tolerance on the shading sub-builder

New in version NX6.0.0.

License requirements: drafting (“DRAFTING”)

HiddenWireframeColor

ViewStyleShadingBuilder.HiddenWireframeColor

Returns or sets the hidden wireframe color on the SHADING tab of the View Style Dialog

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

Getter Method

Signature HiddenWireframeColor

Returns:Returns the hidden wireframe color that is on the shading sub-builder
Return type:Id

New in version NX6.0.0.

License requirements: None.

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

Setter Method

Signature HiddenWireframeColor

Parameters:hiddenWireframeColor (Id) – Sets a new hidden wireframe color on the shading sub-builder

New in version NX6.0.0.

License requirements: drafting (“DRAFTING”)

RenderingStyle

ViewStyleShadingBuilder.RenderingStyle

Returns or sets the rendering style option on the SHADING tab of the View Style Dialog

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

Getter Method

Signature RenderingStyle

Returns:Returns the rendering style option that is on the shading sub-builder
Return type:NXOpen.Preferences.ShadingRenderingStyleOption

New in version NX6.0.0.

License requirements: None.

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

Setter Method

Signature RenderingStyle

Parameters:renderingStyleOption (NXOpen.Preferences.ShadingRenderingStyleOption) – Sets a new rendering style option on the shading sub-builder

New in version NX6.0.0.

License requirements: drafting (“DRAFTING”)

ShadeTolerance

ViewStyleShadingBuilder.ShadeTolerance

Returns or sets the shade tolerance option on the SHADING tab of the View Style Dialog

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

Getter Method

Signature ShadeTolerance

Returns:Returns the shade tolerance option that is on the shading sub-builder
Return type:NXOpen.Preferences.ShadingToleranceOption

New in version NX6.0.0.

License requirements: None.

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

Setter Method

Signature ShadeTolerance

Parameters:shadeToleranceOption (NXOpen.Preferences.ShadingToleranceOption) – Sets a new shade tolerance option on the shading sub-builder

New in version NX6.0.0.

License requirements: drafting (“DRAFTING”)

ShininessScale

ViewStyleShadingBuilder.ShininessScale

Returns or sets the shininess scale data on the SHADING tab of the View Style Dialog

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

Getter Method

Signature ShininessScale

Returns:Returns the shininess scale that is on the shading sub-builder
Return type:float

New in version NX6.0.0.

License requirements: None.

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

Setter Method

Signature ShininessScale

Parameters:shininessScaleData (float) – Sets a new shininess scale on the shading sub-builder

New in version NX6.0.0.

License requirements: drafting (“DRAFTING”)

TwoSidedLight

ViewStyleShadingBuilder.TwoSidedLight

Returns or sets the two sided light toggle on the SHADING tab of the View Style Dialog

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

Getter Method

Signature TwoSidedLight

Returns:Returns the two sided light toggle value that is on the shading sub-builder
Return type:bool

New in version NX6.0.0.

License requirements: None.

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

Setter Method

Signature TwoSidedLight

Parameters:twoSidedLightToggle (bool) – Sets a new two sided light toggle value on the shading sub-builder

New in version NX6.0.0.

License requirements: drafting (“DRAFTING”)

VisibleWireframeColor

ViewStyleShadingBuilder.VisibleWireframeColor

Returns or sets the visible wireframe color on the SHADING tab of the View Style Dialog

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

Getter Method

Signature VisibleWireframeColor

Returns:Returns the visible wireframe color that is on the shading sub-builder
Return type:Id

New in version NX6.0.0.

License requirements: None.

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

Setter Method

Signature VisibleWireframeColor

Parameters:visibleWireframeColor (Id) – Sets a new visible wireframe color on the shading sub-builder

New in version NX6.0.0.

License requirements: drafting (“DRAFTING”)

Method Detail

Validate

ViewStyleShadingBuilder.Validate

Validate whether the inputs to the component are sufficient for commit to be called.

If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.

Signature Validate()

Returns:Was self validation successful
Return type:bool

New in version NX3.0.1.

License requirements: None.