CenterMarkSettingsBuilder Class

class NXOpen.Annotations.CenterMarkSettingsBuilder

Bases: NXOpen.Annotations.CenterlineSettingsBuilder

Represents a Builder for CenterMark Settings.

This can be used for all types of centerlines .. versionadded:: NX6.0.0

Properties

Property Description
Angle Returns or sets the angle of rotation for Center Marks
Color Returns or sets the color of centerline
Extension Returns or sets the extension parameter for centerline
Gap Returns or sets the gap parameter for centeline
IndividualDistance Returns or sets the individual extension distance On/Off parameter for CenterMark
InheritAngle Returns or sets the inherit angle option for Center Marks
ShowCenterPoint Returns or sets the show center point option for Center Marks
Size Returns or sets the size parameter for 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

Angle

CenterMarkSettingsBuilder.Angle

Returns or sets the angle of rotation for Center Marks

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

Getter Method

Signature Angle()

Returns:
Return type:float

New in version NX6.0.0.

License requirements: None.

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

Setter Method

Signature Angle(angle)

Parameters:angle (float) –

New in version NX6.0.0.

License requirements: drafting (“DRAFTING”)

Extension

CenterMarkSettingsBuilder.Extension

Returns or sets the extension parameter for centerline

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

Getter Method

Signature Extension()

Returns:
Return type:float

New in version NX6.0.0.

License requirements: None.

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

Setter Method

Signature Extension(extension)

Parameters:extension (float) –

New in version NX6.0.0.

License requirements: drafting (“DRAFTING”)

IndividualDistance

CenterMarkSettingsBuilder.IndividualDistance

Returns or sets the individual extension distance On/Off parameter for CenterMark

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

Getter Method

Signature IndividualDistance()

Returns:
Return type:bool

New in version NX6.0.0.

License requirements: None.

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

Setter Method

Signature IndividualDistance(individualDistance)

Parameters:individualDistance (bool) –

New in version NX6.0.0.

License requirements: drafting (“DRAFTING”)

InheritAngle

CenterMarkSettingsBuilder.InheritAngle

Returns or sets the inherit angle option for Center Marks

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

Getter Method

Signature InheritAngle()

Returns:
Return type:bool

New in version NX6.0.0.

License requirements: None.

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

Setter Method

Signature InheritAngle(inheritAngle)

Parameters:inheritAngle (bool) –

New in version NX6.0.0.

License requirements: drafting (“DRAFTING”)

ShowCenterPoint

CenterMarkSettingsBuilder.ShowCenterPoint

Returns or sets the show center point option for Center Marks

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

Getter Method

Signature ShowCenterPoint()

Returns:
Return type:bool

New in version NX7.5.0.

License requirements: None.

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

Setter Method

Signature ShowCenterPoint(showCenterPoint)

Parameters:showCenterPoint (bool) –

New in version NX7.5.0.

License requirements: drafting (“DRAFTING”)

Size

CenterMarkSettingsBuilder.Size

Returns or sets the size parameter for centerline.

The size parameter gives offset value for NXOpen.Annotations.SymmetricalCenterline and gives Center Cross Size for NXOpen.Annotations.CenterMark and NXOpen.Annotations.CircleCenterline

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

Getter Method

Signature Size()

Returns:
Return type:float

New in version NX6.0.0.

License requirements: None.

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

Setter Method

Signature Size(size)

Parameters:size (float) –

New in version NX6.0.0.

License requirements: drafting (“DRAFTING”)

Method Detail

Validate

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