SelectAnnotation Class

class NXOpen.Annotations.SelectAnnotation

Bases: NXOpen.TaggedObject, NXOpen.GeometricUtilities.IComponentBuilder

Represents a single object selection.

New in version NX5.0.0.

Properties

Property Description
Tag Returns the Tag for this object.
Value Returns or sets the object being selected

Methods

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

Property Detail

Value

SelectAnnotation.Value

Returns or sets the object being selected

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

Getter Method

Signature Value

Returns:selected object
Return type:NXOpen.Annotations.Annotation

New in version NX5.0.0.

License requirements: None.

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

Setter Method

Signature Value

Parameters:selection (NXOpen.Annotations.Annotation) – selected object

New in version NX5.0.0.

License requirements: None.

Method Detail

Validate

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