AnnotationCollection Class¶
-
class
NXOpen.Diagramming.AnnotationCollection¶ Bases:
objectRepresents a collection of Annotation.
To obtain an instance of this class, refer to
NXOpen.Diagramming.DiagrammingManagerNew 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.Annotationto be edited, if None then create a new oneReturns: Return type: NXOpen.Diagramming.AnnotationBuilderNew in version NX10.0.0.
License requirements: None.
FindObject¶
-
AnnotationCollection.FindObject¶ Finds the
NXOpen.Diagramming.Annotationwith 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.Annotationwith this name.Return type: NXOpen.Diagramming.AnnotationNew in version NX10.0.0.
License requirements: None.