Navigation

    • Register
    • Login
    • Search
    1. Home
    2. wanderingstan
    W

    wanderingstan

    @wanderingstan

    0
    Reputation
    2
    Posts
    2
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    • Profile
    • More
      • Following
      • Followers
      • Topics
      • Posts
      • Best
      • Groups
    wanderingstan Follow

    Best posts made by wanderingstan

    This user does not have any upvoted posts yet.

    Latest posts made by wanderingstan

    Assign Render Path

    Has something changed in the last few years? I get an error running this.

    >>> renderData[c4d.RDATA_PATH] = r"MyPicturePath.exr"
    TypeError: GeListNode_ass_subscript expected Description identifier, not str
    The above exception was the direct cause of the following exception:
    SystemError: _PyEval_EvalFrameDefault returned a result with an error set
    

    c4d.RDATA_PATH evaluates to a string, but its looking for the type Description identifier

    posted in Cinema 4D SDK •
    RE: Assign Render Path

    Now in 2022 I'm getting an error using SetFilename(). It expects an int where c4d.RDATA_PATH evaluates to the string 'from_code_filename'. I'm new to C4D..has the c4d constants been changed from ints to strings?

    Example:

    >>> doc.GetActiveRenderData().GetData().SetFilename(c4d.RDATA_PATH, str("my_filename"))
    Traceback (most recent call last):
      File "console", line 1, in <module>
    TypeError: an integer is required (got type str)
    
    posted in Cinema 4D SDK •