EPDM API

How do I interact with PDM through Visual basic?

SolidworksApi macros