TextColorFontWidth Class

class NXOpen.BlockStyler.TextColorFontWidth

Bases: NXOpen.BlockStyler.UIBlock

Represents a Line Width block

New in version NX9.0.0.

Properties

Property Description
AvailableFontTypesAsString Returns or sets the available font types.
Enable Returns or sets the Enable.
Expanded Returns or sets the Expanded
FontValue Returns or sets the font value
Group Returns or sets the Group
Label Returns or sets the Label
LayoutAsString Returns or sets the layout.
Name Returns the name of the block or BlockID
Show Returns or sets the Visibility of block.
Tag Returns the Tag for this object.
Type Returns the type of block
WidthValueAsString Returns or sets the width value.

Methods

Method Description
Focus Focuses on the block.
GetColorValue Gets text color values @return color values to get from the property
GetProperties Returns the properties of the block @return
SetColorValue Sets text color values

Property Detail

AvailableFontTypesAsString

TextColorFontWidth.AvailableFontTypesAsString

Returns or sets the available font types.

-------------------------------------

Getter Method

Signature AvailableFontTypesAsString()

Returns:
Return type:str

New in version NX9.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature AvailableFontTypesAsString(availableFontTypes)

Parameters:availableFontTypes (str) –

New in version NX9.0.0.

License requirements: None.

FontValue

TextColorFontWidth.FontValue

Returns or sets the font value

-------------------------------------

Getter Method

Signature FontValue()

Returns:
Return type:str

New in version NX9.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature FontValue(fontValue)

Parameters:fontValue (str) –

New in version NX9.0.0.

License requirements: None.

LayoutAsString

TextColorFontWidth.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(layoutString)

Parameters:layoutString (str) –

New in version NX9.0.0.

License requirements: None.

WidthValueAsString

TextColorFontWidth.WidthValueAsString

Returns or sets the width value.

-------------------------------------

Getter Method

Signature WidthValueAsString()

Returns:
Return type:str

New in version NX9.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature WidthValueAsString(widthValueString)

Parameters:widthValueString (str) –

New in version NX9.0.0.

License requirements: None.

Method Detail

GetColorValue

TextColorFontWidth.GetColorValue

Gets text 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

TextColorFontWidth.SetColorValue

Sets text 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.