AnsweredAssumed Answered

How to rename part files in PDM vaults to the part number in Data Card using Dispatch?

Question asked by Ayugma Acharya on Oct 23, 2020
Latest reply on Oct 23, 2020 by Joy Garon

Hello all,

 

I am attempting to rename over 1000 files using SolidWorks Dispatch. I'd like to rename the part files to the part number in each file's data card. I've got the following commands in dispatch:

List of commands

And I have the following variables:

The error I get when I try those commands for multiple files is:

I'm not sure what's causing the issue. I've attached the code as an .acn file below. Please assist me and thank you in advance.

Attachments

Outcomes