The macro command
No Format |
---|
/lcio/fileExists delete |
will cause SLIC to delete any output file it finds with a name that matches the one it is currently tring to useusing, e.g. the default name of outfile.slcio, your specified file name, or an automatically generated name.
The command line switch -x will do the same from the command line.
No Format |
---|
slic -g ./mygeom.lcdd -x |