SubdivisionModelingPreferences Class¶
-
class
NXOpen.Preferences.
SubdivisionModelingPreferences
¶ Bases:
object
Represents the set of Modeling preferences applicable to entire session
To obtain an instance of this class, refer to
NXOpen.Preferences.SessionPreferences
New in version NX9.0.0.
Properties¶
Property | Description |
---|---|
CanAllowBackSideSelection | Returns or sets the flag indicating if the hidden topology selection is allowed or not. |
CanShowWeight | Returns or sets the flag indicating if the edge weights are displayed or not. |
DisplayMode | Returns or sets the mesh and solid body display option |
HighlightFaceTranslucency | Returns or sets the percentage translucency of the highlighted face. |
IsXRayCage | Returns or sets the flag indicating if the hidden edge of the cage are visible or not. |
LineColor | Returns or sets the line color. |
LineFont | Returns or sets the smooth edge line font. |
LineWidth | Returns or sets the line width. |
SharpEdgeLineFont | Returns or sets the sharp edge line font. |
VertexColor | Returns or sets the vertex color. |
VertexSize | Returns or sets the vertex size. |
VertexStyle | Returns or sets the vertex style. |
Methods¶
Enumerations¶
SubdivisionModelingPreferencesDisplayModes Enumeration | Display modes of subdivision cage and resulting body. |
SubdivisionModelingPreferencesVertexSizeTypes Enumeration | vertex size type. |
SubdivisionModelingPreferencesVertexStyleTypes Enumeration | vertex display style. |
Property Detail¶
CanAllowBackSideSelection¶
-
SubdivisionModelingPreferences.
CanAllowBackSideSelection
¶ Returns or sets the flag indicating if the hidden topology selection is allowed or not.
-------------------------------------
Getter Method
Signature
CanAllowBackSideSelection()
Returns: Return type: bool New in version NX10.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
CanAllowBackSideSelection(allow)
Parameters: allow (bool) – New in version NX10.0.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
CanShowWeight¶
-
SubdivisionModelingPreferences.
CanShowWeight
¶ Returns or sets the flag indicating if the edge weights are displayed or not.
-------------------------------------
Getter Method
Signature
CanShowWeight()
Returns: Return type: bool New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
CanShowWeight(showWeight)
Parameters: showWeight (bool) – New in version NX9.0.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
DisplayMode¶
-
SubdivisionModelingPreferences.
DisplayMode
¶ Returns or sets the mesh and solid body display option
-------------------------------------
Getter Method
Signature
DisplayMode()
Returns: Return type: NXOpen.Preferences.SubdivisionModelingPreferencesDisplayModes
New in version NX10.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
DisplayMode(displayOption)
Parameters: displayOption ( NXOpen.Preferences.SubdivisionModelingPreferencesDisplayModes
) –New in version NX10.0.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
HighlightFaceTranslucency¶
-
SubdivisionModelingPreferences.
HighlightFaceTranslucency
¶ Returns or sets the percentage translucency of the highlighted face.
-------------------------------------
Getter Method
Signature
HighlightFaceTranslucency()
Returns: Return type: int New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
HighlightFaceTranslucency(highlightLineTranslucency)
Parameters: highlightLineTranslucency (int) – New in version NX9.0.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
IsXRayCage¶
-
SubdivisionModelingPreferences.
IsXRayCage
¶ Returns or sets the flag indicating if the hidden edge of the cage are visible or not.
-------------------------------------
Getter Method
Signature
IsXRayCage()
Returns: Return type: bool New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
IsXRayCage(isXRayCage)
Parameters: isXRayCage (bool) – New in version NX9.0.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
LineColor¶
-
SubdivisionModelingPreferences.
LineColor
¶ Returns or sets the line color.
-------------------------------------
Getter Method
Signature
LineColor()
Returns: Return type: int New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
LineColor(lineColor)
Parameters: lineColor (int) – New in version NX9.0.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
LineFont¶
-
SubdivisionModelingPreferences.
LineFont
¶ Returns or sets the smooth edge line font.
-------------------------------------
Getter Method
Signature
LineFont()
Returns: Return type: int New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
LineFont(lineFont)
Parameters: lineFont (int) – New in version NX9.0.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
LineWidth¶
-
SubdivisionModelingPreferences.
LineWidth
¶ Returns or sets the line width.
-------------------------------------
Getter Method
Signature
LineWidth()
Returns: Return type: int New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
LineWidth(lineWidth)
Parameters: lineWidth (int) – New in version NX9.0.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
SharpEdgeLineFont¶
-
SubdivisionModelingPreferences.
SharpEdgeLineFont
¶ Returns or sets the sharp edge line font.
-------------------------------------
Getter Method
Signature
SharpEdgeLineFont()
Returns: Return type: int New in version NX10.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SharpEdgeLineFont(lineFont)
Parameters: lineFont (int) – New in version NX10.0.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
VertexColor¶
-
SubdivisionModelingPreferences.
VertexColor
¶ Returns or sets the vertex color.
-------------------------------------
Getter Method
Signature
VertexColor()
Returns: Return type: int New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
VertexColor(vertexColor)
Parameters: vertexColor (int) – New in version NX9.0.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
VertexSize¶
-
SubdivisionModelingPreferences.
VertexSize
¶ Returns or sets the vertex size.
-------------------------------------
Getter Method
Signature
VertexSize()
Returns: Return type: NXOpen.Preferences.SubdivisionModelingPreferencesVertexSizeTypes
New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
VertexSize(vertexSize)
Parameters: vertexSize ( NXOpen.Preferences.SubdivisionModelingPreferencesVertexSizeTypes
) –New in version NX9.0.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
VertexStyle¶
-
SubdivisionModelingPreferences.
VertexStyle
¶ Returns or sets the vertex style.
-------------------------------------
Getter Method
Signature
VertexStyle()
Returns: Return type: NXOpen.Preferences.SubdivisionModelingPreferencesVertexStyleTypes
New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
VertexStyle(vertexStyle)
Parameters: vertexStyle ( NXOpen.Preferences.SubdivisionModelingPreferencesVertexStyleTypes
) –New in version NX9.0.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)