NX Open C++ Reference Guide
Public Types | Public Member Functions | List of all members
NXOpen::Preferences::SubdivisionModelingPreferences Class Reference

Represents the set of Modeling preferences applicable to entire session
To obtain an instance of this class, refer to NXOpen::Preferences::SessionPreferences

Created in NX9.0.0. More...

Public Types

enum  DisplayModes { DisplayModesCageAndBody, DisplayModesCageOnly, DisplayModesBodyOnly }
 Display modes of subdivision cage and resulting body. More...
 
enum  VertexSizeTypes { VertexSizeTypesSmall, VertexSizeTypesMedium, VertexSizeTypesLarge }
 vertex size type. More...
 
enum  VertexStyleTypes {
  VertexStyleTypesSquare, VertexStyleTypesTriangle, VertexStyleTypesCircle, VertexStyleTypesPlus,
  VertexStyleTypesCross
}
 vertex display style. More...
 

Public Member Functions

bool CanAllowBackSideSelection ()
 Returns the flag indicating if the hidden topology selection is allowed or not. More...
 
bool CanShowWeight ()
 Returns the flag indicating if the edge weights are displayed or not. More...
 
NXOpen::Preferences::SubdivisionModelingPreferences::DisplayModes DisplayMode ()
 Returns the mesh and solid body display option
Created in NX10.0.0. More...
 
int HighlightFaceTranslucency ()
 Returns the percentage translucency of the highlighted face. More...
 
bool IsXRayCage ()
 Returns the flag indicating if the hidden edge of the cage are visible or not. More...
 
int LineColor ()
 Returns the line color. More...
 
int LineFont ()
 Returns the smooth edge line font. More...
 
int LineWidth ()
 Returns the line width. More...
 
void SetCanAllowBackSideSelection (bool allow)
 Sets the flag indicating if the hidden topology selection is allowed or not. More...
 
void SetCanShowWeight (bool showWeight)
 Sets the flag indicating if the edge weights are displayed or not. More...
 
void SetDisplayMode (NXOpen::Preferences::SubdivisionModelingPreferences::DisplayModes displayOption)
 Sets the mesh and solid body display option
Created in NX10.0.0. More...
 
void SetHighlightFaceTranslucency (int highlightLineTranslucency)
 Sets the percentage translucency of the highlighted face. More...
 
void SetLineColor (int lineColor)
 Sets the line color. More...
 
void SetLineFont (int lineFont)
 Sets the smooth edge line font. More...
 
void SetLineWidth (int lineWidth)
 Sets the line width. More...
 
void SetSharpEdgeLineFont (int lineFont)
 Sets the sharp edge line font. More...
 
void SetVertexColor (int vertexColor)
 Sets the vertex color. More...
 
void SetVertexSize (NXOpen::Preferences::SubdivisionModelingPreferences::VertexSizeTypes vertexSize)
 Sets the vertex size. More...
 
void SetVertexStyle (NXOpen::Preferences::SubdivisionModelingPreferences::VertexStyleTypes vertexStyle)
 Sets the vertex style. More...
 
void SetXRayCage (bool isXRayCage)
 Sets the flag indicating if the hidden edge of the cage are visible or not. More...
 
int SharpEdgeLineFont ()
 Returns the sharp edge line font. More...
 
tag_t Tag () const
 Returns the tag of this object. More...
 
int VertexColor ()
 Returns the vertex color. More...
 
NXOpen::Preferences::SubdivisionModelingPreferences::VertexSizeTypes VertexSize ()
 Returns the vertex size. More...
 
NXOpen::Preferences::SubdivisionModelingPreferences::VertexStyleTypes VertexStyle ()
 Returns the vertex style. More...
 

Detailed Description

Represents the set of Modeling preferences applicable to entire session
To obtain an instance of this class, refer to NXOpen::Preferences::SessionPreferences

Created in NX9.0.0.


Member Enumeration Documentation

Display modes of subdivision cage and resulting body.

Enumerator
DisplayModesCageAndBody 

Display both cage and body.

DisplayModesCageOnly 

Display cage only.

DisplayModesBodyOnly 

Display body only.

vertex size type.

Enumerator
VertexSizeTypesSmall 

small

VertexSizeTypesMedium 

medium

VertexSizeTypesLarge 

large

vertex display style.

Enumerator
VertexStyleTypesSquare 

square

VertexStyleTypesTriangle 

triangle

VertexStyleTypesCircle 

circle

VertexStyleTypesPlus 

plus

VertexStyleTypesCross 

cross

Member Function Documentation

bool NXOpen::Preferences::SubdivisionModelingPreferences::CanAllowBackSideSelection ( )

Returns the flag indicating if the hidden topology selection is allowed or not.


Created in NX10.0.0.

License requirements : None

bool NXOpen::Preferences::SubdivisionModelingPreferences::CanShowWeight ( )

Returns the flag indicating if the edge weights are displayed or not.


Created in NX9.0.0.

License requirements : None

NXOpen::Preferences::SubdivisionModelingPreferences::DisplayModes NXOpen::Preferences::SubdivisionModelingPreferences::DisplayMode ( )

Returns the mesh and solid body display option
Created in NX10.0.0.



License requirements : None

int NXOpen::Preferences::SubdivisionModelingPreferences::HighlightFaceTranslucency ( )

Returns the percentage translucency of the highlighted face.


Created in NX9.0.0.

License requirements : None

bool NXOpen::Preferences::SubdivisionModelingPreferences::IsXRayCage ( )

Returns the flag indicating if the hidden edge of the cage are visible or not.


Created in NX9.0.0.

License requirements : None

int NXOpen::Preferences::SubdivisionModelingPreferences::LineColor ( )

Returns the line color.


Created in NX9.0.0.

License requirements : None

int NXOpen::Preferences::SubdivisionModelingPreferences::LineFont ( )

Returns the smooth edge line font.


Created in NX9.0.0.

License requirements : None

int NXOpen::Preferences::SubdivisionModelingPreferences::LineWidth ( )

Returns the line width.


Created in NX9.0.0.

License requirements : None

void NXOpen::Preferences::SubdivisionModelingPreferences::SetCanAllowBackSideSelection ( bool  allow)

Sets the flag indicating if the hidden topology selection is allowed or not.


Created in NX10.0.0.

License requirements : studio_free_form ("STUDIO FREE FORM")

Parameters
allowallow
void NXOpen::Preferences::SubdivisionModelingPreferences::SetCanShowWeight ( bool  showWeight)

Sets the flag indicating if the edge weights are displayed or not.


Created in NX9.0.0.

License requirements : studio_free_form ("STUDIO FREE FORM")

Parameters
showWeightshowweight
void NXOpen::Preferences::SubdivisionModelingPreferences::SetDisplayMode ( NXOpen::Preferences::SubdivisionModelingPreferences::DisplayModes  displayOption)

Sets the mesh and solid body display option
Created in NX10.0.0.



License requirements : studio_free_form ("STUDIO FREE FORM")

Parameters
displayOptiondisplayoption
void NXOpen::Preferences::SubdivisionModelingPreferences::SetHighlightFaceTranslucency ( int  highlightLineTranslucency)

Sets the percentage translucency of the highlighted face.


Created in NX9.0.0.

License requirements : studio_free_form ("STUDIO FREE FORM")

Parameters
highlightLineTranslucencyhighlightlinetranslucency
void NXOpen::Preferences::SubdivisionModelingPreferences::SetLineColor ( int  lineColor)

Sets the line color.


Created in NX9.0.0.

License requirements : studio_free_form ("STUDIO FREE FORM")

Parameters
lineColorlinecolor
void NXOpen::Preferences::SubdivisionModelingPreferences::SetLineFont ( int  lineFont)

Sets the smooth edge line font.


Created in NX9.0.0.

License requirements : studio_free_form ("STUDIO FREE FORM")

Parameters
lineFontlinefont
void NXOpen::Preferences::SubdivisionModelingPreferences::SetLineWidth ( int  lineWidth)

Sets the line width.


Created in NX9.0.0.

License requirements : studio_free_form ("STUDIO FREE FORM")

Parameters
lineWidthlinewidth
void NXOpen::Preferences::SubdivisionModelingPreferences::SetSharpEdgeLineFont ( int  lineFont)

Sets the sharp edge line font.


Created in NX10.0.0.

License requirements : studio_free_form ("STUDIO FREE FORM")

Parameters
lineFontlinefont
void NXOpen::Preferences::SubdivisionModelingPreferences::SetVertexColor ( int  vertexColor)

Sets the vertex color.


Created in NX9.0.0.

License requirements : studio_free_form ("STUDIO FREE FORM")

Parameters
vertexColorvertexcolor
void NXOpen::Preferences::SubdivisionModelingPreferences::SetVertexSize ( NXOpen::Preferences::SubdivisionModelingPreferences::VertexSizeTypes  vertexSize)

Sets the vertex size.


Created in NX9.0.0.

License requirements : studio_free_form ("STUDIO FREE FORM")

Parameters
vertexSizevertexsize
void NXOpen::Preferences::SubdivisionModelingPreferences::SetVertexStyle ( NXOpen::Preferences::SubdivisionModelingPreferences::VertexStyleTypes  vertexStyle)

Sets the vertex style.


Created in NX9.0.0.

License requirements : studio_free_form ("STUDIO FREE FORM")

Parameters
vertexStylevertexstyle
void NXOpen::Preferences::SubdivisionModelingPreferences::SetXRayCage ( bool  isXRayCage)

Sets the flag indicating if the hidden edge of the cage are visible or not.


Created in NX9.0.0.

License requirements : studio_free_form ("STUDIO FREE FORM")

Parameters
isXRayCageisxraycage
int NXOpen::Preferences::SubdivisionModelingPreferences::SharpEdgeLineFont ( )

Returns the sharp edge line font.


Created in NX10.0.0.

License requirements : None

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

Returns the tag of this object.

int NXOpen::Preferences::SubdivisionModelingPreferences::VertexColor ( )

Returns the vertex color.


Created in NX9.0.0.

License requirements : None

NXOpen::Preferences::SubdivisionModelingPreferences::VertexSizeTypes NXOpen::Preferences::SubdivisionModelingPreferences::VertexSize ( )

Returns the vertex size.


Created in NX9.0.0.

License requirements : None

NXOpen::Preferences::SubdivisionModelingPreferences::VertexStyleTypes NXOpen::Preferences::SubdivisionModelingPreferences::VertexStyle ( )

Returns the vertex style.


Created in NX9.0.0.

License requirements : None


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