I have some full-vehicle models I run with a file driven event and the external solver. It seems A/Car is now adding a "_1", "_2", etc. to the file names as I call the cmd file for the run. I don't recall it doing this before, instead asking if i want to overwrite the existing run, and I can't seem to find the button to get it to stop. Thoughts...???
Can you add a few lines in your cmd file that checks if the file exists and then remove it?
I assume that you just want to overwrite it anyway?
If cond=(FILE_EXISTS ("filename.res"))
var set var=tmp int=(REMOVE_FILE("filename.res") )
var set var=tmp int=(REMOVE_FILE("filename.msg") )
var set var=tmp int=(REMOVE_FILE("filename.gra") )
var set var=tmp int=(REMOVE_FILE("filename.req") )
end
And: No, have never seen this. On the other hand, I don't use Windows 10 and I don't use ADAMS 2017.1. We skipped that version, only using 2017.2. And my colleagues that are on Win10 have not seen it with that version.
This does indeed appear to be caused by the 72 character limit. Shorten up my assembly and .xml names and i get prompted to overwrite the analysis with no truncating or suffix additions to the file names. Any thing magic about 72 characters...???
Long ago I approched MSC to support ADAMS entities longer names. An analysis is an ADAMS object, too, and thus must fulfill the ADAMS naming convention (i.e. not start with a number, no blanks or points and not longer than xxx chars).
The numbers are likely derived from "ye goode olde Fortran" - remember the 72 char line limit ?
Just recently I went through the list of issues and this either was already released or planned for 2018.