AssociatedObjectsBuilder Class

class NXOpen.Annotations.AssociatedObjectsBuilder

Bases: NXOpen.TaggedObject, NXOpen.GeometricUtilities.IComponentBuilder

The associated objects builder is used to store objects which annotations are associated to

New in version NX6.0.0.

Properties

Property Description
Nxobjects Returns the associated NX objects
Objects Returns the associated objects
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

Nxobjects

AssociatedObjectsBuilder.Nxobjects

Returns the associated NX objects

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

Getter Method

Signature Nxobjects

Returns:
Return type:NXOpen.SelectNXObjectList

New in version NX9.0.0.

License requirements: None.

Objects

AssociatedObjectsBuilder.Objects

Returns the associated objects

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

Getter Method

Signature Objects

Returns:
Return type:NXOpen.SelectDisplayableObjectList

New in version NX6.0.0.

Deprecated since version NX9.0.0: Use NXOpen.Annotations.AssociatedObjectsBuilder.Nxobjects() instead.

License requirements: None.

Method Detail

Validate

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