AnsweredAssumed Answered

Macro - Save Part Number based on Folder Prefix

Question asked by Lakhvinder Singh on Nov 23, 2017
Latest reply on Nov 23, 2017 by Deepak Gupta

Hi All,

 

For each individual project, I have a folder name which starts like SD005. The assemblies and parts I save in this folder is manually saved with assembly numbers as SD005AS001 or parts numbers as SD005PA001, and so on. Is there a Macro which can be used when we create a new part or assembly, and when saved, SolidWorks automatically assigns the next file name (which is same as part number)? The automatic file name should have a prefix of SD005 based on the folder name. Currently I am inputting a name manually, for which I have to check which is the latest part number available, which is time consuming. Any advice please?

 

Regards,

 

LS

Outcomes