ViewStyleTraceLinesBuilder Class — NXOpen Python API Reference 12.0.0 documentation

# ViewStyleTraceLinesBuilder Class

class `NXOpen.Drawings.``ViewStyleTraceLinesBuilder`

  Bases: `NXOpen.TaggedObject`, `NXOpen.GeometricUtilities.IComponentBuilder`

  Represents the TRACE LINES tab on the View Style Dialog (Drawings.

  ViewStyleTraceLinesBuilder)

  New in version NX6.0.0.

# Properties

Property | Description
--- | ---
CreateGaps | Returns or sets the create gaps toggle on the TRACE LINES tab of the View Style Dialog
GapSize | Returns or sets the gap size on the TRACE LINES tab of the View Style Dialog
HiddenColor | Returns or sets the hidden color on the TRACE LINES tab of the View Style Dialog
HiddenFont | Returns or sets the hidden font on the TRACE LINES tab of the View Style Dialog
HiddenWidth | Returns or sets the hidden width on the TRACE LINES tab of the View Style Dialog
Tag | Returns the Tag for this object.
VisibleColor | Returns or sets the visible color on the TRACE LINES tab of the View Style Dialog
VisibleFont | Returns or sets the visible font on the TRACE LINES tab of the View Style Dialog
VisibleWidth | Returns or sets the visible width on the TRACE LINES tab of the View Style Dialog

# Methods

Method | Description
--- | ---
Validate | Validate whether the inputs to the component are sufficient for commit to be called.

# Property Detail

## CreateGaps

`ViewStyleTraceLinesBuilder.``CreateGaps`

  Returns or sets the create gaps toggle on the TRACE LINES tab of the View Style Dialog

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

  Getter Method

  Signature `CreateGaps`

  Returns: | Returns the create gaps toggle value that is on the trace lines sub-builder
  Return type: | bool

  New in version NX6.0.0.

  License requirements: None.

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

  Setter Method

  Signature `CreateGaps`

  Parameters: | createGapsToggle (bool) – Sets a new create gaps toggle value on the trace lines sub-builder

  New in version NX6.0.0.

  License requirements: drafting (“DRAFTING”)

## GapSize

`ViewStyleTraceLinesBuilder.``GapSize`

  Returns or sets the gap size on the TRACE LINES tab of the View Style Dialog

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

  Getter Method

  Signature `GapSize`

  Returns: | Returns the gap size that is on the trace lines sub-builder
  Return type: | float

  New in version NX6.0.0.

  License requirements: None.

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

  Setter Method

  Signature `GapSize`

  Parameters: | gapSize (float) – Sets a new gap size on the trace lines sub-builder

  New in version NX6.0.0.

  License requirements: drafting (“DRAFTING”)

## HiddenColor

`ViewStyleTraceLinesBuilder.``HiddenColor`

  Returns or sets the hidden color on the TRACE LINES tab of the View Style Dialog

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

  Getter Method

  Signature `HiddenColor`

  Returns: | Returns the hidden color that is on the trace lines sub-builder
  Return type: | Id

  New in version NX6.0.0.

  License requirements: None.

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

  Setter Method

  Signature `HiddenColor`

  Parameters: | hiddenColor (Id) – Sets a new hidden color on the trace lines sub-builder

  New in version NX6.0.0.

  License requirements: drafting (“DRAFTING”)

## HiddenFont

`ViewStyleTraceLinesBuilder.``HiddenFont`

  Returns or sets the hidden font on the TRACE LINES tab of the View Style Dialog

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

  Getter Method

  Signature `HiddenFont`

  Returns: | Returns the hidden font that is on the trace lines sub-builder
  Return type: | `NXOpen.Preferences.Font`

  New in version NX6.0.0.

  License requirements: None.

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

  Setter Method

  Signature `HiddenFont`

  Parameters: | hiddenFont (`NXOpen.Preferences.Font`) – Sets a new hidden font on the trace lines sub-builder

  New in version NX6.0.0.

  License requirements: drafting (“DRAFTING”)

## HiddenWidth

`ViewStyleTraceLinesBuilder.``HiddenWidth`

  Returns or sets the hidden width on the TRACE LINES tab of the View Style Dialog

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

  Getter Method

  Signature `HiddenWidth`

  Returns: | Returns the hidden width that is on the trace lines sub-builder
  Return type: | `NXOpen.Preferences.Width`

  New in version NX6.0.0.

  License requirements: None.

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

  Setter Method

  Signature `HiddenWidth`

  Parameters: | hiddenWidth (`NXOpen.Preferences.Width`) – Sets a new hidden width on the trace lines sub-builder

  New in version NX6.0.0.

  License requirements: drafting (“DRAFTING”)

## VisibleColor

`ViewStyleTraceLinesBuilder.``VisibleColor`

  Returns or sets the visible color on the TRACE LINES tab of the View Style Dialog

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

  Getter Method

  Signature `VisibleColor`

  Returns: | Returns the visible color that is on the trace lines sub-builder
  Return type: | Id

  New in version NX6.0.0.

  License requirements: None.

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

  Setter Method

  Signature `VisibleColor`

  Parameters: | visibleColor (Id) – Sets a new visible color on the trace lines sub-builder

  New in version NX6.0.0.

  License requirements: drafting (“DRAFTING”)

## VisibleFont

`ViewStyleTraceLinesBuilder.``VisibleFont`

  Returns or sets the visible font on the TRACE LINES tab of the View Style Dialog

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

  Getter Method

  Signature `VisibleFont`

  Returns: | Returns the visible font that is on the trace lines sub-builder
  Return type: | `NXOpen.Preferences.Font`

  New in version NX6.0.0.

  License requirements: None.

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

  Setter Method

  Signature `VisibleFont`

  Parameters: | font (`NXOpen.Preferences.Font`) – Sets a new visible font on the trace lines sub-builder

  New in version NX6.0.0.

  License requirements: drafting (“DRAFTING”)

## VisibleWidth

`ViewStyleTraceLinesBuilder.``VisibleWidth`

  Returns or sets the visible width on the TRACE LINES tab of the View Style Dialog

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

  Getter Method

  Signature `VisibleWidth`

  Returns: | Returns the visible width that is on the trace lines sub-builder
  Return type: | `NXOpen.Preferences.Width`

  New in version NX6.0.0.

  License requirements: None.

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

  Setter Method

  Signature `VisibleWidth`

  Parameters: | width (`NXOpen.Preferences.Width`) – Sets a new visible width on the trace lines sub-builder

  New in version NX6.0.0.

  License requirements: drafting (“DRAFTING”)

# Method Detail

## Validate

`ViewStyleTraceLinesBuilder.``Validate`

  Validate whether the inputs to the component are sufficient for commit to be called.

  If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.

  Signature `Validate()`

  Returns: | Was self validation successful
  Return type: | bool

  New in version NX3.0.1.

  License requirements: None.