NX Open C++ Reference Guide
Public Member Functions
NXOpen::Preferences::ShadingViewPreferences Class Reference

Represents set of Shading View Preferences applicable to drafting views. More...

Inheritance diagram for NXOpen::Preferences::ShadingViewPreferences:
NXOpen::Preferences::IShadingViewPreferences

List of all members.

Public Member Functions

double CustomAngleTolerance ()
 Returns the custom angle tolerance.
double CustomEdgeTolerance ()
 Returns the custom edge tolerance.
double CustomFaceTolerance ()
 Returns the custom face tolerance.
int OverrideHiddenWireframeColor ()
 Returns the hidden wireframe override color.
int OverrideVisibleWireframeColor ()
 Returns the visible wireframe override color.
NXOpen::Preferences::ShadingRenderingStyleOption RenderingStyle ()
 Returns the rendering style.
void SetCustomAngleTolerance (double customAngleTolerance)
 Sets the custom angle tolerance.
void SetCustomEdgeTolerance (double customEdgeTolerance)
 Sets the custom edge tolerance.
void SetCustomFaceTolerance (double customFaceTolerance)
 Sets the custom face tolerance.
void SetOverrideHiddenWireframeColor (int overrideHiddenWireframeColor)
 Sets the hidden wireframe override color.
void SetOverrideVisibleWireframeColor (int overrideVisibleWireframeColor)
 Sets the visible wireframe override color.
void SetRenderingStyle (NXOpen::Preferences::ShadingRenderingStyleOption renderingStyleOption)
 Sets the rendering style.
void SetShadedCutFaceColor (int shadedCutFaceColor)
 Sets the shaded cut face color.
void SetShadingTolerance (NXOpen::Preferences::ShadingToleranceOption shadingTolerance)
 Sets the shading tolerance.
void SetShininess (double shininessTolerance)
 Sets the shininess tolerance.
void SetTwoSidedLight (bool twoSidedLight)
 Sets the two sided light toggle data.
int ShadedCutFaceColor ()
 Returns the shaded cut face color.
NXOpen::Preferences::ShadingToleranceOption ShadingTolerance ()
 Returns the shading tolerance.
double Shininess ()
 Returns the shininess tolerance.
tag_t Tag () const
 Returns the tag of this object.
bool TwoSidedLight ()
 Returns the two sided light toggle data.

Detailed Description

Represents set of Shading View Preferences applicable to drafting views.


To obtain an instance of this class use Preferences::ViewPreferences::Shading

Created in NX5.0.0.


Member Function Documentation

Returns the custom angle tolerance.


Created in NX5.0.0.

License requirements : None

Returns the custom edge tolerance.


Created in NX5.0.0.

License requirements : None

Returns the custom face tolerance.


Created in NX5.0.0.

License requirements : None

Returns the hidden wireframe override color.

The value should be between 1 and 216.
Created in NX5.0.0.

License requirements : None

Returns the visible wireframe override color.

The value should be between 1 and 216.
Created in NX5.0.0.

License requirements : None

Returns the rendering style.


Created in NX5.0.0.

License requirements : None

Sets the custom angle tolerance.


Created in NX5.0.0.

License requirements : drafting ("DRAFTING")

Parameters:
customAngleTolerancecustom angle tolerance

Sets the custom edge tolerance.


Created in NX5.0.0.

License requirements : drafting ("DRAFTING")

Parameters:
customEdgeTolerancecustom edge tolerance

Sets the custom face tolerance.


Created in NX5.0.0.

License requirements : drafting ("DRAFTING")

Parameters:
customFaceTolerancecustom face tolerance

Sets the hidden wireframe override color.

The value should be between 1 and 216.
Created in NX5.0.0.

License requirements : drafting ("DRAFTING")

Parameters:
overrideHiddenWireframeColoroverridehiddenwireframecolor

Sets the visible wireframe override color.

The value should be between 1 and 216.
Created in NX5.0.0.

License requirements : drafting ("DRAFTING")

Parameters:
overrideVisibleWireframeColoroverridevisiblewireframecolor

Sets the rendering style.


Created in NX5.0.0.

License requirements : drafting ("DRAFTING")

Parameters:
renderingStyleOptionrendering style option

Sets the shaded cut face color.

The value should be between 1 and 216.
Created in NX5.0.0.

License requirements : drafting ("DRAFTING")

Parameters:
shadedCutFaceColorshaded cut face color

Sets the shading tolerance.


Created in NX5.0.0.

License requirements : drafting ("DRAFTING")

Parameters:
shadingToleranceshading tolerance
void NXOpen::Preferences::ShadingViewPreferences::SetShininess ( double  shininessTolerance)

Sets the shininess tolerance.


Created in NX5.0.0.

License requirements : drafting ("DRAFTING")

Parameters:
shininessToleranceshininess tolerance

Sets the two sided light toggle data.


Created in NX5.0.0.

License requirements : drafting ("DRAFTING")

Parameters:
twoSidedLighttwo sided light

Returns the shaded cut face color.

The value should be between 1 and 216.
Created in NX5.0.0.

License requirements : None

Returns the shading tolerance.


Created in NX5.0.0.

License requirements : None

Returns the shininess tolerance.


Created in NX5.0.0.

License requirements : None

Returns the tag of this object.

Returns the two sided light toggle data.


Created in NX5.0.0.

License requirements : None


The documentation for this class was generated from the following file:
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.