NX Open C++ Reference Guide
Public Member Functions | List of all members
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

Public Member Functions

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

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

double NXOpen::Preferences::ShadingViewPreferences::CustomAngleTolerance ( )

Returns the custom angle tolerance.


Created in NX5.0.0.

License requirements : None

double NXOpen::Preferences::ShadingViewPreferences::CustomEdgeTolerance ( )

Returns the custom edge tolerance.


Created in NX5.0.0.

License requirements : None

double NXOpen::Preferences::ShadingViewPreferences::CustomFaceTolerance ( )

Returns the custom face tolerance.


Created in NX5.0.0.

License requirements : None

int NXOpen::Preferences::ShadingViewPreferences::OverrideHiddenWireframeColor ( )

Returns the hidden wireframe override color.

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

License requirements : None

int NXOpen::Preferences::ShadingViewPreferences::OverrideVisibleWireframeColor ( )

Returns the visible wireframe override color.

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

License requirements : None

NXOpen::Preferences::ShadingRenderingStyleOption NXOpen::Preferences::ShadingViewPreferences::RenderingStyle ( )

Returns the rendering style.


Created in NX5.0.0.

License requirements : None

void NXOpen::Preferences::ShadingViewPreferences::SetCustomAngleTolerance ( double  customAngleTolerance)

Sets the custom angle tolerance.


Created in NX5.0.0.

License requirements : drafting ("DRAFTING")

Parameters
customAngleTolerancecustom angle tolerance
void NXOpen::Preferences::ShadingViewPreferences::SetCustomEdgeTolerance ( double  customEdgeTolerance)

Sets the custom edge tolerance.


Created in NX5.0.0.

License requirements : drafting ("DRAFTING")

Parameters
customEdgeTolerancecustom edge tolerance
void NXOpen::Preferences::ShadingViewPreferences::SetCustomFaceTolerance ( double  customFaceTolerance)

Sets the custom face tolerance.


Created in NX5.0.0.

License requirements : drafting ("DRAFTING")

Parameters
customFaceTolerancecustom face tolerance
void NXOpen::Preferences::ShadingViewPreferences::SetOverrideHiddenWireframeColor ( int  overrideHiddenWireframeColor)

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
void NXOpen::Preferences::ShadingViewPreferences::SetOverrideVisibleWireframeColor ( int  overrideVisibleWireframeColor)

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
void NXOpen::Preferences::ShadingViewPreferences::SetRenderingStyle ( NXOpen::Preferences::ShadingRenderingStyleOption  renderingStyleOption)

Sets the rendering style.


Created in NX5.0.0.

License requirements : drafting ("DRAFTING")

Parameters
renderingStyleOptionrendering style option
void NXOpen::Preferences::ShadingViewPreferences::SetShadedCutFaceColor ( int  shadedCutFaceColor)

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
void NXOpen::Preferences::ShadingViewPreferences::SetShadingTolerance ( NXOpen::Preferences::ShadingToleranceOption  shadingTolerance)

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
void NXOpen::Preferences::ShadingViewPreferences::SetTwoSidedLight ( bool  twoSidedLight)

Sets the two sided light toggle data.


Created in NX5.0.0.

License requirements : drafting ("DRAFTING")

Parameters
twoSidedLighttwo sided light
int NXOpen::Preferences::ShadingViewPreferences::ShadedCutFaceColor ( )

Returns the shaded cut face color.

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

License requirements : None

NXOpen::Preferences::ShadingToleranceOption NXOpen::Preferences::ShadingViewPreferences::ShadingTolerance ( )

Returns the shading tolerance.


Created in NX5.0.0.

License requirements : None

double NXOpen::Preferences::ShadingViewPreferences::Shininess ( )

Returns the shininess tolerance.


Created in NX5.0.0.

License requirements : None

tag_t NXOpen::Preferences::ShadingViewPreferences::Tag ( ) const

Returns the tag of this object.

bool NXOpen::Preferences::ShadingViewPreferences::TwoSidedLight ( )

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 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.