LineColorFontWidthBuilder Class

class NXOpen.LineColorFontWidthBuilder

Bases: NXOpen.TaggedObject, NXOpen.GeometricUtilities.IComponentBuilder

Represent a NXOpen.LineColorFontWidthBuilder

This is a sub-builder class and cannot be directly instantiated

New in version NX9.0.0.

Properties

Property Description
LineColor Returns or sets the line color
LineFont Returns the line font
LineWidth Returns or sets the line width
Tag Returns the Tag for this object.

Methods

Method Description
Validate Validate whether the inputs to the component are sufficient for commit to be called.

Property Detail

LineColor

LineColorFontWidthBuilder.LineColor

Returns or sets the line color

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

Getter Method

Signature LineColor

Returns:
Return type:Id

New in version NX9.0.0.

License requirements: None.

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

Setter Method

Signature LineColor

Parameters:lineColor (Id) –

New in version NX9.0.0.

License requirements: None.

LineFont

LineColorFontWidthBuilder.LineFont

Returns the line font

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

Getter Method

Signature LineFont

Returns:
Return type:NXOpen.LineFontBuilder

New in version NX9.0.0.

License requirements: None.

LineWidth

LineColorFontWidthBuilder.LineWidth

Returns or sets the line width

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

Getter Method

Signature LineWidth

Returns:
Return type:NXOpen.DisplayableObjectObjectWidth

New in version NX9.0.0.

License requirements: None.

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

Setter Method

Signature LineWidth

Parameters:width (NXOpen.DisplayableObjectObjectWidth) –

New in version NX9.0.0.

License requirements: None.

Method Detail

Validate

LineColorFontWidthBuilder.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.