I'm creating a macro to set certain system settings. I want to set multiple paths for File Locations>Document Templates. The problem I have is that I can only get one path. I've got 2 lines of code that specify each path as follows, but I only get the last one.
boolstatus = swApp.SetUserPreferenceStringValue(swUserPreferenceStringValue_e.swFileLocationsDocumentTemplates, "c:\Path1") '
boolstatus = swApp.SetUserPreferenceStringValue(swUserPreferenceStringValue_e.swFileLocationsDocumentTemplates, "C:Path2")
I want to be able to set multiple paths for this setting. How do I do that?
Thanks,
Craig
SolidworksApi macros