PDM Pro 2017- get a specific version of a file

Hello,

On PDM Pro, I am working on a vba macro to get a specific version of a file.

It will work like this :

     - Check out the file (lock)

     - Get a specific version

     - Check in the file (unlock)

I managed to Check in and out the file whit no trouble, but I can't find the method to get a specific version.

Just like this icon in the PDM menu in Solidworks.

If you guys have an idea.

Thanks

SolidworksApi macros