6

I am working on a project that needs to create file geodatabases from scratch and I cannot find any information about how to make new feature classes as annotation with Python.

Does anyone have any thoughts or suggestions on this? Is there another way to do this programmability outside of Python?

This question was written for ArcGIS Desktop 9.3 but Answers using ArcGIS 10 for Desktop are also welcome.

4

I'm afraid it doesn't look like you can edit anotation objects within Python. According to this post the annotations are stored within Blob fields which are inaccessible from the Python geoprocessor. More than happy to be proved wrong here though!

As @Kirk Kuykendall says above, it's doable through arcobjects, maybe through an IAnnotationFeature.

  • 2
    You are exactly right except for the IAnnotationFeature part, which (although related to annotations) will not help you when creating a feature class containing annotations. – Petr Krebs Sep 28 '10 at 9:38
1

Maybe try Append Annotation Feature Classes with an empty input annotation featureclass. Or it can be done programmatically with arcobjects.

0

You could create your initial empty file geodatabase annotation feature class through ArcCatalog and then use the Feature Class To Feature Class tool in a Python script to create subsequent ones.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.