LineFont Class

class NXOpen.BlockStyler.LineFont

Bases: NXOpen.BlockStyler.UIBlock

Represents a Line Width block

New in version NX9.0.0.

Properties

Property Description
AvailableOptions Returns or sets the Available Options
Enable Returns or sets the Enable.
Expanded Returns or sets the Expanded
Group Returns or sets the Group
Label Returns or sets the Label
Name Returns the name of the block or BlockID
Show Returns or sets the Visibility of block.
ShowOptionLabels Returns or sets the show option labels
Tag Returns the Tag for this object.
Type Returns the type of block
ValueAsString Returns or sets the value

Methods

Method Description
Focus Focuses on the block.
GetProperties Returns the properties of the block @return

Property Detail

AvailableOptions

LineFont.AvailableOptions

Returns or sets the Available Options

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

Getter Method

Signature AvailableOptions()

Returns:
Return type:int

New in version NX9.0.0.

License requirements: None.

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

Setter Method

Signature AvailableOptions(availableOptions)

Parameters:availableOptions (int) –

New in version NX9.0.0.

License requirements: None.

ShowOptionLabels

LineFont.ShowOptionLabels

Returns or sets the show option labels

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

Getter Method

Signature ShowOptionLabels()

Returns:
Return type:bool

New in version NX9.0.0.

License requirements: None.

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

Setter Method

Signature ShowOptionLabels(showOptionLabels)

Parameters:showOptionLabels (bool) –

New in version NX9.0.0.

License requirements: None.

ValueAsString

LineFont.ValueAsString

Returns or sets the value

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

Getter Method

Signature ValueAsString()

Returns:
Return type:str

New in version NX9.0.0.

License requirements: None.

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

Setter Method

Signature ValueAsString(fontValueString)

Parameters:fontValueString (str) –

New in version NX9.0.0.

License requirements: None.