Source code for abaqus.Annotation.AnnotationViewport
from .Annotation import Annotation
from ..Canvas.ViewportBase import ViewportBase
[docs]class AnnotationViewport(ViewportBase):
"""The following commands operate on Viewport objects. For more information about the
Viewport object, see Viewport object.
Notes
-----
This object can be accessed by:
.. code-block:: python
import annotationToolset
"""
[docs] def plotAnnotation(self, annotation: Annotation, index: str = 0.0):
"""This method plots an Annotation object in aViewport.
Parameters
----------
annotation
An Annotation object to plot.
index
An Int specifying the index of the Annotation object in the sequence of annotations to
plot. The default value is zero.
"""
pass