Hi Peer, so for annotations the bounding box methods only consider the annotation's definition points. For an AnnotationText object, that's just one anchor point the same one that you pick in the Dim > Text command, and the same one you see if you turn on edit points. That's why you get a zero size bounding box.
The textbox size can be view dependent and the BoundingBox command and regular retrieval functions are not set up to gather view dependent information. So currently there isn't any way for a script to retrieve that particular information.
I'll add in a .getTextBoxOutline( viewport ) method on annotations that will return 4 points that are the corners of the textbox.
- Michael
|