Good afternoon all,
We have an issue where we have generated a whole host of extractions, and the file naming needs to be changed.
My plan was - rename the output file in PW, then go into the Drawing Definition editor and rename in there to match - naively I thought it would override the newly labelled file.
E.g ..... - 9906 (1), incorrect name, should be ...... - 9907.
Renamed the extraction file in PW (9906) to 9907, renamed in the drawing definition editor to 9907 - error: file already exists. That is correct - it does, but why does it let you re-write 9906 in the first place (since that already exists?)
so my question is - where exactly is the link between definition and output held? I need to overwrite an existing file but with an updated name (to not affect a load of drawings).
Any help much appreciated.
Cheers
Ian
Hi Ian,
OK, I was able to reproduce the same scenario outside of PW so this would be core DEM. When I first rename the DEM definition I receive this alert message:
I'm assuming you see the same? In my case I chose not to delete the existing file, of course, so that I can rename it as step 2.
After renaming the original output file to match my renamed definition, when I attempt to calculate the drawing I get the "file already exists" message. I believe what's happening is that after renaming the definition there still is no link in the source model pointing to an external file using that new name. So when attempting to calculate the drawing it recognizes a file of the same name, in the same output folder, but does not know that it's intended to be the extraction output (the renamed file's internal link still points back to the source model using the original definition name) so prevents that "independent" file from being overwritten. As a safety net of sorts.
So with all that said, I haven't found a way to force that rename between the definition and output file. The only thing I can suggest is deleting that output file so that the internal links between the source and destination files are written with the updated names.