I have a macro that I wish to expand on. I need to embed the existing code in a loop that will create a selection set of part files in a specified folder, then execute the macro on each file. I was hoping to find an existing macro sample that demonstrates parsing a folder, creating a selection set and sequentially opening each part in solidworks and executing the existing code that I have.
I've searched the solidworks site sample code and my own macros but no existing macros demonstrate this ability. If you've come across this before - I'd appreciate it!