LeaderBuilder Class

class NXOpen.Annotations.LeaderBuilder

Bases: NXOpen.TaggedObject, NXOpen.GeometricUtilities.IComponentBuilder

Represents a NXOpen.Annotations.LeaderBuilder.

This class is used to construct a leader for an annotation object.

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

New in version NX6.0.0.

Properties

Property Description
Leaders Returns the leaders to attach to the annotation
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

Leaders

LeaderBuilder.Leaders

Returns the leaders to attach to the annotation

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

Getter Method

Signature Leaders()

Returns:
Return type:NXOpen.Annotations.LeaderDataList

New in version NX6.0.0.

License requirements: None.

Method Detail

Validate

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