AnnotationCollection Class¶
-
class
NXOpen.Diagramming.
AnnotationCollection
¶ Bases:
object
Represents a collection of Annotation.
To obtain an instance of this class, refer to
NXOpen.Diagramming.DiagrammingManager
New in version NX10.0.0.
Methods¶
Method | Description |
---|---|
CreateAnnotationBuilder | Creates a NXOpen.Diagramming.AnnotationBuilder . |
FindObject | Finds the NXOpen.Diagramming.Annotation with the given identifier as recorded in a journal. |
Method Detail¶
CreateAnnotationBuilder¶
-
AnnotationCollection.
CreateAnnotationBuilder
¶ Creates a
NXOpen.Diagramming.AnnotationBuilder
.Signature
CreateAnnotationBuilder(annotation)
Parameters: annotation ( NXOpen.Diagramming.Annotation
) –NXOpen.Diagramming.Annotation
to be edited, if None then create a new oneReturns: Return type: NXOpen.Diagramming.AnnotationBuilder
New in version NX10.0.0.
License requirements: None.
FindObject¶
-
AnnotationCollection.
FindObject
¶ Finds the
NXOpen.Diagramming.Annotation
with the given identifier as recorded in a journal.An exception will be thrown if no object can be found with given name.
Signature
FindObject(journalIdentifier)
Parameters: journalIdentifier (str) – Identifier to be found Returns: NXOpen.Diagramming.Annotation
with this name.Return type: NXOpen.Diagramming.Annotation
New in version NX10.0.0.
License requirements: None.