SmoothEdgesViewStyle Class — NXOpen Python API Reference 12.0.0 documentation

# SmoothEdgesViewStyle Class

class `NXOpen.Drawings.``SmoothEdgesViewStyle`

  Bases: `object`

  Represents set of Smooth Edges View Style Preferences applicable to drafting views.

  To obtain an instance of this class use `Drawings.ViewStyle.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

`SmoothEdgesViewStyle.``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`

  Parameters: | smoothEdge (bool) –

  New in version NX5.0.0.

  License requirements: drafting (“DRAFTING”)

## SmoothEdgeColor

`SmoothEdgesViewStyle.``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`

  Parameters: | smoothEdgeColor (int) –

  New in version NX5.0.0.

  License requirements: drafting (“DRAFTING”)

## SmoothEdgeEndGaps

`SmoothEdgesViewStyle.``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`

  Parameters: | smoothEdgeEndGaps (bool) –

  New in version NX5.0.0.

  License requirements: drafting (“DRAFTING”)

## SmoothEdgeEndGapsData

`SmoothEdgesViewStyle.``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`

  Parameters: | smoothEdgeEndGapsData (float) –

  New in version NX5.0.0.

  License requirements: drafting (“DRAFTING”)

## SmoothEdgeFont

`SmoothEdgesViewStyle.``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`

  Parameters: | smoothEdgeFont (`NXOpen.Preferences.Font`) –

  New in version NX5.0.0.

  License requirements: drafting (“DRAFTING”)

## SmoothEdgeTolerance

`SmoothEdgesViewStyle.``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 tolerance is used.

  `-------------------------------------`

  Getter Method

  Signature `SmoothEdgeTolerance`

  Returns: |
  Return type: | bool

  New in version NX7.5.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `SmoothEdgeTolerance`

  Parameters: | smoothEdgeTolerance (bool) –

  New in version NX7.5.0.

  License requirements: drafting (“DRAFTING”)

## SmoothEdgeToleranceData

`SmoothEdgesViewStyle.``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`

  Parameters: | smoothEdgeToleranceData (float) –

  New in version NX7.5.0.

  License requirements: drafting (“DRAFTING”)

## SmoothEdgeWidth

`SmoothEdgesViewStyle.``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`

  Parameters: | smoothEdgeWidth (`NXOpen.Preferences.Width`) –

  New in version NX5.0.0.

  License requirements: drafting (“DRAFTING”)