There is very simple and fool-proof solution for default actions if included file is missing. It is using
\IfFileExists{IncludedFile}%
{% routine if file exists
}%
{% routine if file does not exist
}
Question is, how to make it work with directory tree. I have my images organised in several directories and I'm using \graphicspath command to simplify the figure including.
\includegraphicscommands in the file, just in part, which is automatically generated from different data. – Crowley May 14 '15 at 14:52