I am sure this is a dumb question, but being a noob at Macros and API, I am confused on this. I was working with a SolidWorks Macro and trying to Assign The current PDM users initials to a variable, but it wouldn't recognize PDM API commands. I am somewhat familiar with Visual Basic, but am learning that better and trying to learn SolidWorks API as well. This is what I was using to access PDM API commands, but it wouldn't recognize it:
Dim userMgr As IEdmUserMgr5
SolidworksApi macros