THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 21/07/2009 at 15:28, xxxxxxxx wrote:
Cinema 4D Version: 11.027
Language(s) : C++ ;
Is there a message or a hook that Cinema sends just prior to opening a file?
Here's why I'm looking for this functionality:
Some of our texture file names contain custom tokens and environment variables that must be resolved in order to obtain the actual path to the file. For example:
Just before a texture is opened, I want to obtain the filename string, resolve it, then pass the absolute filename to Cinema.
This cannot be done in a file select dialog, because we don't want the resolved string to appear in the shader gui or to be saved with the .c4d file. Instead, we want to save the unresolved string.
Is this possible?