Subclassing ATContentTypes with ArchGenXML
Subclassing from ATContentTypes is a common task for which you need to know the magic incantations. Once you know them, it is easy, though.
- Add a class called ATDocument.
Give that ATDocument the stereotypes <<stub>> and <<archetype>>. (Stub makes sure the class isn't actually generated into your project, archetype makes sure that archgenxml knows that it doesn't need to re-add archetypes' BaseContent or BaseFolder class.)
- Add a tagged value import_from with the value Products.ATContentTypes.content.document.
- Now you can add your own class and inherit from ATDocument.
All you need to know is in the picture below. You can use the same method for ATImage, ATFolder, etc.

Note: The 1.6 beta ArchGenXML has the ATCT stereotypes (<<atdocument>>, <<atnewsitem>>, etc.) that makes this subclassing really simple.
removed <<archetype>> and worked