Has anyone devise a simple way to devise what is the custom attributes belonging to a custom doctype - not the ones it inherits from? Using DFC I can find no method call that does it, so the only way I do right now is to :
1. find the object type supertype - call enumAttr to get a list of the attributes
2. then enumAttr on the custom objectype and then do a diff.
I find that such a strategy is very wasteful in terms of performance, so I wonder, has anyone did it in a better fashion?