ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
GRGreg Rupp18/06/2011

I could really use some help. I've been reading the forums for the last few days trying to find more information on how to automate the moving of files during a transition. Basically I learned that you cannot accurately do it with dispatch (because you have to copy to new name, delete, rename, causing rev counters and state to reset) and that if done with an API there is no issue. If anyone has some complete examples they are willing to share I'd greatly appreciate it!

Basically I need to take the files in the transition (not state) and move them to the following folder:

%RootFolderPath% \Production\ Left(%NameOfSelectedFile%, 4)\%NameOfSelectedFile%

An example would be file name 6000-123456.sldprt. I want them to get moved into  C:\Vault\Production\6000\    and still keep all of it's revision counters, file history, file references, etc.

final path is C:\Vault\Production\6000\6000-123456.sldprt

Again, any help is greatly appreciated!

Regards,

Greg