How to find attributes on ModelDoc2 objects ?

Hi there,

I'm trying to define custom attributes and parameters on ModelDoc2 objects the same way as for Entity, Component2 and Body2 objects. What seems to be  missing however is a FindAttribute method for ModelDoc2 objects. How do I get an Attribute on a ModelDoc2 object ?

Thanks,

Antoine

SolidworksApi macros