You can write a simple java action for this:
return Core.getMetaObject("objectname here").getMetaPrimitive("membername here").getType().toString();
You could use MxModelReflection to lookup the MxObjectMember and get the AttributeType.
For the interested people: This is the code to iterate over the attributes, where oMyobject is the object that I passed to my java-action.
// BEGIN USER CODE
IMendixObject mo = oMyobject.getMendixObject();
IMetaObject metaObject = mo.getMetaObject();
for (IMetaPrimitive metaPrimitive : metaObject.getMetaPrimitives()) {
Core.getLogger("TEST").critical(metaPrimitive.getName() + " " + metaPrimitive.getType().toString());
}
return true;
// END USER CODE
As you can see, I log them as critical to the Mendix-console :-)