I am trying to export a specific revision (older version) of a drawing file from SOLIDWORKS PDM using a VBA macro.
Currently, the API only allows access to the latest version of the file when opening/exporting. I attempted to use version enumeration methods such as GetEnumeratorVersion5 and GetFileCopy but this results in a runtime error (Error 430: interface not supported).
Is there any supported method or API in VBA to:
1. Access version history of a file, or
2. Retrieve a file based on a specific revision
Environment:
- SOLIDWORKS 2025
- SOLIDWORKS PDM Professional
- VBA macro environment
Any guidance would be helpful.
