• Force 'Pause'/Wait when switching between Takes at Batch Render

    Moved
    9
    0 Votes
    9 Posts
    2k Views
    M
    H @tim97 , if you read the previous answers from Manuel, we were not able to reproduce the behavior, since you are looking for the solution I guess you have the same issue. Would it be possible for you to share a scene and a script? Thanks in advance, Cheers, Maxime.
  • 0 Votes
    4 Posts
    732 Views
    ferdinandF
    Dear community, this question has been answered by mail and is unfortunately not available for the public in its entirety. The core of the answer was: if node.GetName() == 'Base Color' and node.GetTypeName() == 'C4D Shader': # Import the new substance as an asset into the document. res, asset, _ = c4d.modules.substance.ImportSubstance( doc, substance_path, c4d.SUBSTANCE_IMPORT_COPY_NO, False, False, False) if res != c4d.SUBSTANCE_IMPORT_RESULT_SUCCESS: raise IOError(f"Could not load substance file: {substance_path}") # Create a shader for the substance asset. shader = c4d.modules.substance.CreateSubstanceShader(asset) if not isinstance(shader, c4d.BaseShader): raise MemoryError("Unable to allocate substance shader.") # Insert the new shader into the material and set the shader # as the shader of the C4D Shader node. material.InsertShader(shader) node[c4d.GV_REDSHIFT_BAKER_SHADER] = shader Cheers, Ferdinand
  • Message for closed documents?

    python r25
    9
    0 Votes
    9 Posts
    2k Views
    fwilleke80F
    Ah, damn, I forgot that Python doesn't have SceneHookData. Sorry.
  • How to select an Edge

    s22 python
    8
    1
    0 Votes
    8 Posts
    3k Views
    chuanzhenC
    @ferdinand Thanks your reply!
  • How to read JSON using Maxon API?

    c++
    5
    0 Votes
    5 Posts
    944 Views
    kbarK
    Works great, thanks again Manuel.
  • Bitmaps module missing from Auto Completion Dummy Package

    python r25 s24
    3
    1 Votes
    3 Posts
    1k Views
    H
    Ok, thanks for the confirmation. Already fixed it manually myself.
  • Creating shaders from PSD files

    python
    11
    1
    0 Votes
    11 Posts
    3k Views
    M
    Hi Been a few years now, any changes on this, I would love a script that iterated through a PSD file, create a material for each layer and set the Alphas for each layer
  • R21 c4dpy LoadFile always return False

    sdk python
    6
    2
    0 Votes
    6 Posts
    1k Views
    S
    @ferdinand wow, awesome. It works! thank you so much.
  • Object size not updated after points move

    python r25
    3
    0 Votes
    3 Posts
    1k Views
    P
    Well, that indeed fixed the issue, now the size gets properly updated! Thank you very much for the help
  • 0 Votes
    11 Posts
    2k Views
    ferdinandF
    Hello @pyxelrigger, without any further activity before Wednesday, the 16.03.2022, we will consider this topic as solved and remove the "unsolved" state from this topic. Thank you for your understanding, Ferdinand
  • Test "Lock Overrides" in Python

    python
    4
    0 Votes
    4 Posts
    942 Views
    ferdinandF
    Hello @danielsian, without any further activity before Wednesday, the 16.03.2022, we will consider this topic as solved and remove the "unsolved" state from this topic. Thank you for your understanding, Ferdinand
  • Strip Texture Path using Python

    python
    5
    0 Votes
    5 Posts
    1k Views
    ferdinandF
    Hello @djoneeeee, without any further activity before Wednesday, the 16.03.2022, we will consider this topic as solved and remove the "unsolved" state from this topic. Thank you for your understanding, Ferdinand
  • The second "call command" cannot be executed

    python s24
    6
    0 Votes
    6 Posts
    1k Views
    ferdinandF
    Hello @mari, without any further activity before Wednesday, the 16.03.2022, we will consider this topic as solved and remove the "unsolved" state from this topic. Thank you for your understanding, Ferdinand
  • Normal tangents to world

    7
    0 Votes
    7 Posts
    1k Views
    ferdinandF
    Hello @wickedp, without any further activity before Wednesday, the 16.03.2022, we will consider this topic as solved and remove the "unsolved" state from this topic. Thank you for your understanding, Ferdinand
  • Calling an existing user data preset onto a python tag.

    python r25
    7
    0 Votes
    7 Posts
    3k Views
    ferdinandF
    Hello @z-prich, without any further activity before Wednesday, the 16.03.2022, we will consider this topic as solved and remove the "unsolved" state of this topic. Thank you for your understanding, Ferdinand
  • Is it possible to add layer solo to a new take through script?

    python
    4
    1
    0 Votes
    4 Posts
    929 Views
    ferdinandF
    Hello @sean1832 , without any further activity before Wednesday, the 16.03.2022, we will consider this topic as solved and remove the "unsolved" state of this topic. Thank you for your understanding, Ferdinand
  • What are the AES specifications for the AES encryption in C4D SDK ?

    c++
    7
    0 Votes
    7 Posts
    1k Views
    ferdinandF
    Hello @c5d, without any further activity before Wednesday, the 16.03.2022, we will consider this topic as solved and remove the "unsolved" state of this topic. Thank you for your understanding, Ferdinand
  • Python Source Protector: Can it be called via CLI?

    python
    18
    0 Votes
    18 Posts
    6k Views
    a_blockA
    Thanks, Ferdinand! Much appreciated. I always forget about c4dpy and that it can still be run in parallel to a running C4D instance. Thanks.
  • Symbol not found: ___chkstk_darwin

    r23 python c++
    2
    1
    0 Votes
    2 Posts
    833 Views
    M
    Cinema 4D R23 require at least mac os 10.14 and the most optimal is 10.15. In your case you need to update to 10.15. See Cinema 4D R23 Requierements. Cheers, Maxime.
  • Layers checker

    python s24 sdk
    4
    0 Votes
    4 Posts
    2k Views
    ROMANR
    @mogh I didn't know about this function @ferdinand Thank you a lot for your detailed response. I will chek posts which you recommended