LineColorFontWidth Class — NXOpen Python API Reference 12.0.0 documentation

# LineColorFontWidth Class

class `NXOpen.BlockStyler.``LineColorFontWidth`

  Bases: `NXOpen.BlockStyler.UIBlock`

  Represents a Line Width block

  New in version NX9.0.0.

# Properties

Property | Description
--- | ---
Enable | Returns or sets the Enable.
Expanded | Returns or sets the Expanded
Group | Returns or sets the Group
HideSubBlocksAsString | Returns or sets the hide sub block.
Label | Returns or sets the Label
LabelString | Returns or sets the Label String in horizontal layout.
LayoutAsString | Returns or sets the layout.
LineFontAvailableOptions | Returns or sets the Line Font Available Options
LineFontValueAsString | Returns or sets the Line Font Value.
LineWidthShowDefault | Returns or sets the Line width Show Default
LineWidthShowDefaultAsOriginal | Returns or sets the Line Width Show Default as Original
LineWidthShowNoChange | Returns or sets the Line Width Show No Change
LineWidthUseWideLines | Returns or sets the Line Width Use Wide Lines
Name | Returns the name of the block or BlockID
Show | Returns or sets the Visibility of block.
ShowLabel | Returns or sets the Show Label flag.
Tag | Returns the Tag for this object.
Type | Returns the type of block

# Methods

Method | Description
--- | ---
Focus | Focuses on the block.
GetColorValue | Gets line color values
GetProperties | Returns the properties of the block
SetColorValue | Sets line color values

# Property Detail

## HideSubBlocksAsString

`LineColorFontWidth.``HideSubBlocksAsString`

  Returns or sets the hide sub block.

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

  Getter Method

  Signature `HideSubBlocksAsString`

  Returns: |
  Return type: | str

  New in version NX9.0.0.

  License requirements: None.

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

  Setter Method

  Signature `HideSubBlocksAsString`

  Parameters: | hideSubBlocksString (str) –

  New in version NX9.0.0.

  License requirements: None.

## LabelString

`LineColorFontWidth.``LabelString`

  Returns or sets the Label String in horizontal layout.

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

  Getter Method

  Signature `LabelString`

  Returns: |
  Return type: | str

  New in version NX11.0.0.

  License requirements: None.

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

  Setter Method

  Signature `LabelString`

  Parameters: | labelString (str) –

  New in version NX11.0.0.

  License requirements: None.

## LayoutAsString

`LineColorFontWidth.``LayoutAsString`

  Returns or sets the layout.

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

  Getter Method

  Signature `LayoutAsString`

  Returns: |
  Return type: | str

  New in version NX9.0.0.

  License requirements: None.

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

  Setter Method

  Signature `LayoutAsString`

  Parameters: | layoutString (str) –

  New in version NX9.0.0.

  License requirements: None.

## LineFontAvailableOptions

`LineColorFontWidth.``LineFontAvailableOptions`

  Returns or sets the Line Font Available Options

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

  Getter Method

  Signature `LineFontAvailableOptions`

  Returns: |
  Return type: | int

  New in version NX9.0.0.

  License requirements: None.

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

  Setter Method

  Signature `LineFontAvailableOptions`

  Parameters: | lineFontAvailableOptions (int) –

  New in version NX9.0.0.

  License requirements: None.

## LineFontValueAsString

`LineColorFontWidth.``LineFontValueAsString`

  Returns or sets the Line Font Value.

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

  Getter Method

  Signature `LineFontValueAsString`

  Returns: |
  Return type: | str

  New in version NX9.0.0.

  License requirements: None.

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

  Setter Method

  Signature `LineFontValueAsString`

  Parameters: | fontValueString (str) –

  New in version NX9.0.0.

  License requirements: None.

## LineWidthShowDefault

`LineColorFontWidth.``LineWidthShowDefault`

  Returns or sets the Line width Show Default

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

  Getter Method

  Signature `LineWidthShowDefault`

  Returns: |
  Return type: | bool

  New in version NX9.0.0.

  License requirements: None.

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

  Setter Method

  Signature `LineWidthShowDefault`

  Parameters: | lineWidthShowDefault (bool) –

  New in version NX9.0.0.

  License requirements: None.

## LineWidthShowDefaultAsOriginal

`LineColorFontWidth.``LineWidthShowDefaultAsOriginal`

  Returns or sets the Line Width Show Default as Original

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

  Getter Method

  Signature `LineWidthShowDefaultAsOriginal`

  Returns: |
  Return type: | bool

  New in version NX9.0.0.

  License requirements: None.

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

  Setter Method

  Signature `LineWidthShowDefaultAsOriginal`

  Parameters: | lineWidthShowDefaultAsOriginal (bool) –

  New in version NX9.0.0.

  License requirements: None.

## LineWidthShowNoChange

`LineColorFontWidth.``LineWidthShowNoChange`

  Returns or sets the Line Width Show No Change

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

  Getter Method

  Signature `LineWidthShowNoChange`

  Returns: |
  Return type: | bool

  New in version NX9.0.0.

  License requirements: None.

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

  Setter Method

  Signature `LineWidthShowNoChange`

  Parameters: | lineWidthShowNoChange (bool) –

  New in version NX9.0.0.

  License requirements: None.

## LineWidthUseWideLines

`LineColorFontWidth.``LineWidthUseWideLines`

  Returns or sets the Line Width Use Wide Lines

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

  Getter Method

  Signature `LineWidthUseWideLines`

  Returns: |
  Return type: | bool

  New in version NX9.0.0.

  License requirements: None.

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

  Setter Method

  Signature `LineWidthUseWideLines`

  Parameters: | lineWidthUseWideLines (bool) –

  New in version NX9.0.0.

  License requirements: None.

## ShowLabel

`LineColorFontWidth.``ShowLabel`

  Returns or sets the Show Label flag.

  If true, the block label is shown in horizontal layout.

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

  Getter Method

  Signature `ShowLabel`

  Returns: |
  Return type: | bool

  New in version NX11.0.0.

  License requirements: None.

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

  Setter Method

  Signature `ShowLabel`

  Parameters: | showLabel (bool) –

  New in version NX11.0.0.

  License requirements: None.

# Method Detail

## GetColorValue

`LineColorFontWidth.``GetColorValue`

  Gets line color values

  Signature `GetColorValue()`

  Returns: | color values to get from the property
  Return type: | list of int

  New in version NX9.0.0.

  License requirements: None.

## SetColorValue

`LineColorFontWidth.``SetColorValue`

  Sets line color values

  Signature `SetColorValue(colorValueVector)`

  Parameters: | colorValueVector (list of int) – color values to set for the property.

  New in version NX9.0.0.

  License requirements: None.