EPDM API in VBA

Hello

I was asked to make a macro in VBA. The goal:

- We are given a folder, then in all the folders and child files we have to modify a variable in the map.

 

I managed to connect to the vault, but I'm not sure how to do the rest and I haven't found much documentation.
 

(Solidworks 2013 and 2015, EPDM, Windows 7)
Thank you for your help.

Hello

Here is the help for the ePDM APIs: http://help.solidworks.com/2015/english/api/SWHelp_List.html?id=58fb67da070047e6b38b136686b58ab0#Pg0&ProductType=&ProductName=

Happy reading and good development.

1 Like

Thank you, on the other hand I come across another (related) problem that I can't solve:

 

When I make a 'Set file = folder. GetNextFile(pos)', I get the following error:

[ This interface is not supported ]

 

I don't understand why, how can I get around this?

We're going to need a little more of your code to be able to try to understand. Because here we don't know how your variables are instantiated...

2 Likes

[EDIT] So much for me... I was looking for a file when I had the position of a folder... It smells like all this on the weekend:p Thank you Remrem

 

Issue Resolved