TargetPointCollection Class

class NXOpen.Annotations.TargetPointCollection

Bases: object

Represents a collection of NXOpen.Annotations.TargetPoint objects

To obtain an instance of this class, refer to NXOpen.Annotations.AnnotationManager

New in version NX6.0.0.

Methods

Method Description
CreateTargetPointBuilder Creates the TargetPointBuilder @return TargetPointBuilder object
FindObject Finds the target point with the given name.

Method Detail

CreateTargetPointBuilder

TargetPointCollection.CreateTargetPointBuilder

Creates the TargetPointBuilder

Signature CreateTargetPointBuilder(targetPt)

Parameters:targetPt (NXOpen.Annotations.TargetPoint) – NXOpen.Annotations.TargetPoint to be edited, if None then create a new one
Returns:TargetPointBuilder object
Return type:NXOpen.Annotations.TargetPointBuilder

New in version NX6.0.0.

License requirements: drafting (“DRAFTING”)

FindObject

TargetPointCollection.FindObject

Finds the target point with the given name.

An exception will be thrown if no object can be found with given name

Signature FindObject(journalIdentifier)

Parameters:journalIdentifier (str) – Identifier of the target point to be found
Returns:Target Point with this identifier
Return type:NXOpen.Annotations.TargetPoint

New in version NX6.0.0.

License requirements: None.