Check this (i.e. docs) out, especially the middleJustified argument description.
Currently, in your script, it is set to False, which translates to the text being lower-left justified in terms of world coordinates. If you want to center it on the point, you need to make it True.
I can’t quite remember what that code does, but self.point looks like a 2D point (i.e. a screen space point with X and Y being in pixels from the top left corner) made using the XY components of the input Point (i.e. a point in 3D space). So the text won’t show up on screen where the input Point is. Try using one of these overloads instead:
It is perfect, How do I do if I have a list of texts? When I placed the list of texts and Location Points in the same code it was not giving any results.
Thank you very much. I also want to ask is that the texts are dynamically changing the height while zooming in and out, but we want a fixed height. Can we do that?