Label

Create a Label/Annotation and place it at, e.g. (X,Y,Z) = (0,0,0) and add a text “Hello, world!” using scripting. Transparent

from ansys import *
label = Graphics.LabelManager.CreateLabel(DataModel.GetObjectById(1))
label.Note = "Hello, world!"
label.Color = Ansys.ACT.Common.Graphics.Color(0, 0, 180)
X = 0
Y = 0
Z = 0
p = Point([X,Y,Z],'m')
label.Scoping.XYZ = p
label.ShowAlways = True