• Discovering Channel Identifiers of a Substance Shader

    python r25
    1
    2
    3 Votes
    1 Posts
    360 Views
    No one has replied
  • Adding Node Descriptions Pragmatically

    c++ r25
    9
    0 Votes
    9 Posts
    2k Views
    O
    Thank you. I was getting a unique ID indeed but had declared it as a global (I don't know how I missed it after checking couple of times) and using it like that in the lambda function was causing the issue. All good now, thank you very much. Cheers, Ogers
  • 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
    576 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
    1k 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
    2k Views
    chuanzhenC
    @ferdinand Thanks your reply!
  • How to read JSON using Maxon API?

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

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

    python
    11
    1
    0 Votes
    11 Posts
    2k 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
    845 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
    818 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
    764 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
    997 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
    2k 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
    723 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
    5k 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.