CenterlineSettingsBuilder Class

class NXOpen.Annotations.CenterlineSettingsBuilder

Bases: NXOpen.TaggedObject, NXOpen.GeometricUtilities.IComponentBuilder

Represents a Builder for Centerline Settings.

This contains settings common to all centerlines .. versionadded:: NX6.0.0

Properties

Property Description
Color Returns or sets the color of centerline
Gap Returns or sets the gap parameter for centeline
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.

Enumerations

CenterlineSettingsBuilderCenterlineThickness Enumeration the types of centerline thickness

Property Detail

Color

CenterlineSettingsBuilder.Color

Returns or sets the color of centerline

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

Getter Method

Signature Color

Returns:
Return type:Id

New in version NX6.0.0.

License requirements: None.

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

Setter Method

Signature Color

Parameters:color (Id) –

New in version NX6.0.0.

License requirements: drafting (“DRAFTING”)

Gap

CenterlineSettingsBuilder.Gap

Returns or sets the gap parameter for centeline

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

Getter Method

Signature Gap

Returns:
Return type:float

New in version NX6.0.0.

License requirements: None.

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

Setter Method

Signature Gap

Parameters:gap (float) –

New in version NX6.0.0.

License requirements: drafting (“DRAFTING”)

Width

CenterlineSettingsBuilder.Width

Returns or sets the width of centerline

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

Getter Method

Signature Width

Returns:
Return type:NXOpen.Annotations.CenterlineSettingsBuilderCenterlineThickness

New in version NX6.0.0.

License requirements: None.

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

Setter Method

Signature Width

Parameters:width (NXOpen.Annotations.CenterlineSettingsBuilderCenterlineThickness) –

New in version NX6.0.0.

License requirements: drafting (“DRAFTING”)

Method Detail

Validate

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