Centerline2dSettingsBuilder Class

class NXOpen.Annotations.Centerline2dSettingsBuilder

Bases: NXOpen.Annotations.CenterlineSettingsBuilder

Represents a Builder for Centerline2dSettings.

New in version NX6.0.0.

Properties

Property Description
Color Returns or sets the color of centerline
Extension Returns or sets the extension parameter for 2D Centerline
Gap Returns or sets the gap parameter for centeline
IndividualDistance Returns or sets the individual extension distance On/Off parameter for 2D Centerline
Size Returns or sets the short dash size parameter for 2D Centerline
Tag Returns the Tag for this object.
Width Returns or sets the width of centerline

Methods

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

Property Detail

Extension

Centerline2dSettingsBuilder.Extension

Returns or sets the extension parameter for 2D Centerline

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

Getter Method

Signature Extension

Returns:
Return type:float

New in version NX6.0.0.

License requirements: None.

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

Setter Method

Signature Extension

Parameters:extension (float) –

New in version NX6.0.0.

License requirements: drafting (“DRAFTING”)

IndividualDistance

Centerline2dSettingsBuilder.IndividualDistance

Returns or sets the individual extension distance On/Off parameter for 2D Centerline

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

Getter Method

Signature IndividualDistance

Returns:
Return type:bool

New in version NX6.0.0.

License requirements: None.

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

Setter Method

Signature IndividualDistance

Parameters:individualDistance (bool) –

New in version NX6.0.0.

License requirements: drafting (“DRAFTING”)

Size

Centerline2dSettingsBuilder.Size

Returns or sets the short dash size parameter for 2D Centerline

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

Getter Method

Signature Size

Returns:
Return type:float

New in version NX6.0.0.

License requirements: None.

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

Setter Method

Signature Size

Parameters:size (float) –

New in version NX6.0.0.

License requirements: drafting (“DRAFTING”)

Method Detail

Validate

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