Filename and GeFileExist



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 19/07/2008 at 08:44, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   R10 
    Platform:   Windows  ;   Mac OSX  ; 
    Language(s) :   C.O.F.F.E.E  ;

    ---------
    Hello,

    I have a strange problem. If I put this code in a coffee expression :

    > \> var f = doc->GetFilename(); \> if(!GeFileExist(f,FALSE))println("Error"); \>

    The console print "Error" even if my document is saved. I tried with user data filename or with a string written manually but it doesn't work too.

    Open a file in a expression is impossible?

    I hope you'll have an answer, thanks
    xs_yann



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 21/07/2008 at 01:46, xxxxxxxx wrote:

    file access is not allowed in coffee expressions.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 23/07/2008 at 02:33, xxxxxxxx wrote:

    Ok, thank you. Strange because you can do it with a coffee node in a Xpresso...


Log in to reply