GetActiveDocument not working in Netrend



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

    On 10/07/2006 at 04:03, xxxxxxxx wrote:

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

    ---------
    Hi there

    Is it possible that "var doc=GetActiveDocument();" doesn't work with netrendering?
    Also if I try to render the scene without a GUI (starting Cinema4D via command line), GetActiveDocument seems to point on a empty scene.

    Any ideas about this issue? Workarounds?

    Thank you very much!

    Greetings,
    j.



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

    On 10/07/2006 at 14:13, xxxxxxxx wrote:

    Without the GUI, like in the net renderer, there is no active document. But in most cases, e.g. animation plugins and expressions, you will have the document passed to you as an argument.



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

    On 13/07/2006 at 03:06, xxxxxxxx wrote:

    Then I'll go with expressions instead of XPresso-COFFEE and use the passed "doc" argument.

    Thanks!


Log in to reply