I'm trying to edit an annotation feature class through a updateCursor.
Everything works fine as long as he writes in the field TextString worth up to 255 characters.
With a 256 or higher string I get an error "error return without exception set" that occurs at the edit.stopOperation () command.
This happens both in Pyscripter that in Python window ...
Through the interface you can create annotation texts with more than 255 characters, even if it is no longer visible in TextString field. it is as if to save him in some other field.
Any suggestion is appreciated.
Providing a bit more information might help us help you better:
Joshua, Thanks for your interest ...
I solved! I am writing this update so that it can be useful to others.
I was incredulous and tried just like last hope: I increased the size from TextString range up to 10,000 characters and it worked ...
The script, which made a updatecursor on a Annotation Feature Class a FGDB, managed to put on the label text with more than 255 characters.
It was the most obvious solution, but I thought that the fields of Annotation were blocked.