How to get the configurations of a reference using PDMW API

Hi Everyone,

When i get the references of a particular assembly using PDMW API, I could only get the references and not their configurations used in the assembly. When I checked the references.pdmw the associated configuration for each reference is mentioned. Please let me know if there is a way to get the configurations associated to a particular reference of an assembly

Thanks

SolidworksApi macros