SmoothEdgesViewPreferences Class¶
-
class
NXOpen.Preferences.
SmoothEdgesViewPreferences
¶ Bases:
object
Represents set of Smooth Edges View Preferences applicable to drafting views.
Allows to control the display of smooth edges. Smooth edges are those whose adjacent faces have the same surface tangent at the edge where they meet.
To obtain an instance of this class use
Preferences.ViewPreferences.SmoothEdges
New in version NX5.0.0.
Properties¶
Property | Description |
---|---|
SmoothEdge | Returns or sets the status of smooth edge. |
SmoothEdgeColor | Returns or sets the color of smooth edge. |
SmoothEdgeEndGaps | Returns or sets the status of smooth edge end gaps. |
SmoothEdgeEndGapsData | Returns or sets the value of smooth edge end gaps. |
SmoothEdgeFont | Returns or sets the font of smooth edge. |
SmoothEdgeTolerance | Returns or sets the status of smooth edge angle tolerance. |
SmoothEdgeToleranceData | Returns or sets the value of smooth edge angle tolerance in degrees. |
SmoothEdgeWidth | Returns or sets the width of smooth edge. |
Methods¶
Property Detail¶
SmoothEdge¶
-
SmoothEdgesViewPreferences.
SmoothEdge
¶ Returns or sets the status of smooth edge.
If True then it enables the smooth edge options.
-------------------------------------
Getter Method
Signature
SmoothEdge()
Returns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SmoothEdge(smoothEdge)
Parameters: smoothEdge (bool) – New in version NX5.0.0.
License requirements: drafting (“DRAFTING”)
SmoothEdgeColor¶
-
SmoothEdgesViewPreferences.
SmoothEdgeColor
¶ Returns or sets the color of smooth edge.
The value should be between 1 and 216.
-------------------------------------
Getter Method
Signature
SmoothEdgeColor()
Returns: Return type: int New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SmoothEdgeColor(smoothEdgeColor)
Parameters: smoothEdgeColor (int) – New in version NX5.0.0.
License requirements: drafting (“DRAFTING”)
SmoothEdgeEndGaps¶
-
SmoothEdgesViewPreferences.
SmoothEdgeEndGaps
¶ Returns or sets the status of smooth edge end gaps.
If True, the visible ends are suppressed from the display. The length of the suppressed end is in drawing units and is controlled by the value set in the End Gap field. If False, the visible ends are not suppressed from the display.
-------------------------------------
Getter Method
Signature
SmoothEdgeEndGaps()
Returns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SmoothEdgeEndGaps(smoothEdgeEndGaps)
Parameters: smoothEdgeEndGaps (bool) – New in version NX5.0.0.
License requirements: drafting (“DRAFTING”)
SmoothEdgeEndGapsData¶
-
SmoothEdgesViewPreferences.
SmoothEdgeEndGapsData
¶ Returns or sets the value of smooth edge end gaps.
-------------------------------------
Getter Method
Signature
SmoothEdgeEndGapsData()
Returns: Return type: float New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SmoothEdgeEndGapsData(smoothEdgeEndGapsData)
Parameters: smoothEdgeEndGapsData (float) – New in version NX5.0.0.
License requirements: drafting (“DRAFTING”)
SmoothEdgeFont¶
-
SmoothEdgesViewPreferences.
SmoothEdgeFont
¶ Returns or sets the font of smooth edge.
-------------------------------------
Getter Method
Signature
SmoothEdgeFont()
Returns: Return type: NXOpen.Preferences.Font
New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SmoothEdgeFont(smoothEdgeFont)
Parameters: smoothEdgeFont ( NXOpen.Preferences.Font
) –New in version NX5.0.0.
License requirements: drafting (“DRAFTING”)
SmoothEdgeTolerance¶
-
SmoothEdgesViewPreferences.
SmoothEdgeTolerance
¶ Returns or sets the status of smooth edge angle tolerance.
If True, the value set in the Tolerance Data field is used. If False, the system default angle tolerance is used.
-------------------------------------
Getter Method
Signature
SmoothEdgeTolerance()
Returns: Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SmoothEdgeTolerance(smoothEdgeTolerance)
Parameters: smoothEdgeTolerance (bool) – New in version NX7.5.0.
License requirements: drafting (“DRAFTING”)
SmoothEdgeToleranceData¶
-
SmoothEdgesViewPreferences.
SmoothEdgeToleranceData
¶ Returns or sets the value of smooth edge angle tolerance in degrees.
-------------------------------------
Getter Method
Signature
SmoothEdgeToleranceData()
Returns: Return type: float New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SmoothEdgeToleranceData(smoothEdgeToleranceData)
Parameters: smoothEdgeToleranceData (float) – New in version NX7.5.0.
License requirements: drafting (“DRAFTING”)
SmoothEdgeWidth¶
-
SmoothEdgesViewPreferences.
SmoothEdgeWidth
¶ Returns or sets the width of smooth edge.
-------------------------------------
Getter Method
Signature
SmoothEdgeWidth()
Returns: Return type: NXOpen.Preferences.Width
New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SmoothEdgeWidth(smoothEdgeWidth)
Parameters: smoothEdgeWidth ( NXOpen.Preferences.Width
) –New in version NX5.0.0.
License requirements: drafting (“DRAFTING”)