ViewStyleShadingBuilder Class¶
-
class
NXOpen.Drawings.ViewStyleShadingBuilder¶ Bases:
NXOpen.TaggedObject,NXOpen.GeometricUtilities.IComponentBuilderRepresents 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
AngleToleranceReturns: 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
AngleToleranceParameters: 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
CutFaceColorReturns: 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
CutFaceColorParameters: 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
EdgeToleranceReturns: 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
EdgeToleranceParameters: 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
FaceToleranceReturns: 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
FaceToleranceParameters: faceToleranceData (float) – Sets a new face tolerance 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
RenderingStyleReturns: Returns the rendering style option that is on the shading sub-builder Return type: NXOpen.Preferences.ShadingRenderingStyleOptionNew in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
RenderingStyleParameters: renderingStyleOption ( NXOpen.Preferences.ShadingRenderingStyleOption) – Sets a new rendering style option on the shading sub-builderNew 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
ShadeToleranceReturns: Returns the shade tolerance option that is on the shading sub-builder Return type: NXOpen.Preferences.ShadingToleranceOptionNew in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ShadeToleranceParameters: shadeToleranceOption ( NXOpen.Preferences.ShadingToleranceOption) – Sets a new shade tolerance option on the shading sub-builderNew 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
ShininessScaleReturns: 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
ShininessScaleParameters: 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
TwoSidedLightReturns: 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
TwoSidedLightParameters: 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
VisibleWireframeColorReturns: 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
VisibleWireframeColorParameters: 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.