ViewStyleVisibleLinesBuilder Class — NXOpen Python API Reference 12.0.0 documentation

# ViewStyleVisibleLinesBuilder Class

class `NXOpen.Drawings.``ViewStyleVisibleLinesBuilder`

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

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

  ViewStyleVisibleLinesBuilder)

  New in version NX6.0.0.

# Properties

Property | Description
--- | ---
Tag | Returns the Tag for this object.
VisibleColor | Returns or sets the visible color on the VISIBLE LINES tab of the View Style Dialog
VisibleFont | Returns or sets the visible font on the VISIBLE LINES tab of the View Style Dialog
VisibleWidth | Returns or sets the visible width on the VISIBLE 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

## VisibleColor

`ViewStyleVisibleLinesBuilder.``VisibleColor`

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

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

  Getter Method

  Signature `VisibleColor`

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

  New in version NX6.0.0.

  License requirements: None.

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

  Setter Method

  Signature `VisibleColor`

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

  New in version NX6.0.0.

  License requirements: drafting (“DRAFTING”)

## VisibleFont

`ViewStyleVisibleLinesBuilder.``VisibleFont`

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

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

  Getter Method

  Signature `VisibleFont`

  Returns: | Returns the visible font that is on the visible 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 new visible font on the visible lines sub-builder

  New in version NX6.0.0.

  License requirements: drafting (“DRAFTING”)

## VisibleWidth

`ViewStyleVisibleLinesBuilder.``VisibleWidth`

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

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

  Getter Method

  Signature `VisibleWidth`

  Returns: | Returns the visible width that is on the visible 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 new visible width on the visible lines sub-builder

  New in version NX6.0.0.

  License requirements: drafting (“DRAFTING”)

# Method Detail

## Validate

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