I have the user select a folder, RMB and kickoff dispatch command. I am getting the correct variables to write but I can't figure out why the file won't copy.
Instead of PDMVAULT use %RootFolderPath% and the location of your template to be copied.
That should resolve the issue.
Hope this helps !
Still sturggling. I havae tried many different "path" syntax but still get error.
I RMB on M6088 to start dispatch and I get the variables shown
I want to copy the file located in the vault location below to the project folder M6088/Electrical Files
Source file: %RootFolderPath%\%d_machtype%\%d_machtype%.sldprt
Destination File: %PathToSelectedFile%\Electrical Files\test.sldprt
I Still get error saying....
In the source file, Just enter the %RootFolderPath% / (Actual location of the file and it should look like this)
%RootFolderPath%/Templates/Electrical/Master Applicator Drawings / LSPW115VAC/ (Filename)
And in the destination file: %PathToSelectedFile%/Electical Files /.....
This should solve the problem.
Still can't get it. I even tried "dummy it down" and removed the variables and used 2 folders our on the root level. Still get the same error of "The system cannot find the path specified"
I'm beyond frustrated.
Can you post a new screenshot of the dispatch script? Also is the file checked into the vault and do you have a latest copy of the file on the workstation?
Charley here is where I am at now.....
The variables being read in are not doing anything. The source file I am trying to copy IS checked-in and I have the latest.
I'm tyring to keep it simple right now to get it to work.
I wrote up a test script and it seems to work correctly:
Your output location won't work because it will be something odd like C:\PDM-Vault\test.sldprt\test.sldprt, but I don't think it's causing the error. Can you add an ok message box that shows %RootFolderPath%\A Parts\testing.sldprt and also show %PathToSelectedFile%\test.sldprt and put up some screenshots. Also show the new location of the testing.sldprt file.
Retrieving data ...