LineWidth Class

class NXOpen.BlockStyler.LineWidth

Bases: NXOpen.BlockStyler.UIBlock

Represents a Line Width block

New in version NX8.5.0.

Properties

Property Description
AllowDefaultWidth Returns the AllowDefaultWidth
AllowNoChangeWidth Returns the AllowNoChangeWidth.
Enable Returns or sets the Enable.
Expanded Returns or sets the Expanded
Group Returns or sets the Group
Label Returns or sets the Label
LabelVisibility Returns or sets the LabelVisibility
LineWidthValue Returns or sets the LineWidthValue
Name Returns the name of the block or BlockID
Show Returns or sets the Visibility of block.
ShowDefaultAsOriginal Returns the ShowDefaultAsOriginal.
Tag Returns the Tag for this object.
Type Returns the type of block

Methods

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

Property Detail

AllowDefaultWidth

LineWidth.AllowDefaultWidth

Returns the AllowDefaultWidth

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

Getter Method

Signature AllowDefaultWidth()

Returns:
Return type:bool

New in version NX8.5.0.

License requirements: None.

AllowNoChangeWidth

LineWidth.AllowNoChangeWidth

Returns the AllowNoChangeWidth.

If true, no change in width is allowed.

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

Getter Method

Signature AllowNoChangeWidth()

Returns:
Return type:bool

New in version NX8.5.0.

License requirements: None.

LabelVisibility

LineWidth.LabelVisibility

Returns or sets the LabelVisibility

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

Getter Method

Signature LabelVisibility()

Returns:
Return type:bool

New in version NX8.5.0.

License requirements: None.

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

Setter Method

Signature LabelVisibility(visible)

Parameters:visible (bool) –

New in version NX8.5.0.

License requirements: None.

LineWidthValue

LineWidth.LineWidthValue

Returns or sets the LineWidthValue

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

Getter Method

Signature LineWidthValue()

Returns:
Return type:int

New in version NX8.5.0.

License requirements: None.

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

Setter Method

Signature LineWidthValue(widthValue)

Parameters:widthValue (int) –

New in version NX8.5.0.

License requirements: None.

ShowDefaultAsOriginal

LineWidth.ShowDefaultAsOriginal

Returns the ShowDefaultAsOriginal.

If true, default entry is shown as original.

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

Getter Method

Signature ShowDefaultAsOriginal()

Returns:
Return type:bool

New in version NX8.5.0.

License requirements: None.