How do you get an annotation layer working inside a group layer? When I try, I get the error message "error adding element".
I have a project that requires several annotation layer to be organised within a Group Layer.
Tested in ArcMap 9.3.1 and 10.
Steps to reproduce:
- Create a new document
- Add a Annotation Featureclass to ArcMap
- Start Editing
- On the Draw Toolbar, change the Active Annotation Target to the Annotation Featureclass
- Draw something (e.g. freehand) - This should work!
- Create a New Group Layer
- Move the Annotation Featureclass inside it.
- The Annotation Target has now been lost!
- On the Draw Toolbar, change the Active Annotation Target to the Annotation Featureclass
- Draw something (e.g. freehand) - This does not work!
- You will get the error message "error adding element"
You will now not be able to write to this Featureclass unless you save the document, close ArcMap and re-open it. This is not an acceptable workaround for my project. Is there a workaround, preferably in ArcObjects?
This might relate to an ArcMap 8.3 bug submitted in 2001.