• 0 Votes
    4 Posts
    855 Views
    a_blockA
    Well, helping out is generally my business. Although I have to admit, I have some problems understanding the actual goal. If you like, contact me via job AT andreasblock DOT de
  • Joint Orientation Math Challenge

    Cinema 4D SDK r21 python
    9
    2
    0 Votes
    9 Posts
    2k Views
    ManuelM
    hi, ho, sorry, so yes that is the correct way to combine matrix. ps : I marked my thread as the right answer. Cheers, Manuel
  • 3 Votes
    1 Posts
    360 Views
    No one has replied
  • Python Plugin Development

    General Talk python r21
    3
    0 Votes
    3 Posts
    740 Views
    FSSF
    Hi Ferdinand, thank you for your reply. You were indeed correct, my imports were not working due to bugs. If software bugs had protein, i alone could end world hunger. I was able to solve them after providing the -nogui argument, which then piped out the errors again to the commandline. This worked without in the old version of the plugin, due to it not using any imports besides the local ones (none in the \AppData\Roaming\Python\{PYTHON_VERSION}). As a result the commandline put out errors. If using imports though, the commandline swallowed the output (error+stacktrace) and stayed blank until the plugin was erroring out and the system continued with other plugin calls and the CONSTRING NOT FREED at the end.
  • Message for closed documents?

    Cinema 4D SDK python r25
    9
    0 Votes
    9 Posts
    1k Views
    fwilleke80F
    Ah, damn, I forgot that Python doesn't have SceneHookData. Sorry.
  • Selected object to selected layer

    Cinema 4D SDK python r25
    5
    1
    0 Votes
    5 Posts
    2k Views
    ferdinandF
    Hello @ROMAN, without any further questions and other postings, we will consider this topic as solved and flag it as such by Friday, 17/06/2022. Thank you for your understanding, Ferdinand
  • 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
  • How to select an Edge

    Cinema 4D SDK s22 python
    8
    1
    0 Votes
    8 Posts
    2k Views
    chuanzhenC
    @ferdinand Thanks your reply!
  • 1 Votes
    3 Posts
    801 Views
    H
    Ok, thanks for the confirmation. Already fixed it manually myself.
  • 0 Votes
    6 Posts
    1k Views
    ferdinandF
    Hello @JH23, without any further questions and other postings, we will consider this topic as solved and flag it as such by Friday, 17/06/2022. Thank you for your understanding, Ferdinand
  • Python Cinema4d GeDialog List

    Cinema 4D SDK
    4
    2
    0 Votes
    4 Posts
    833 Views
    ferdinandF
    Hello @render_exe, without any further questions and other postings, we will consider this topic as solved and flag it as such by Friday, 17/06/2022. Thank you for your understanding, Ferdinand
  • Can't get assets info in c4dpy

    Cinema 4D SDK python r21 sdk
    4
    2
    0 Votes
    4 Posts
    658 Views
    ferdinandF
    Hello @sol87, without any further questions and other postings, we will consider this topic as solved and flag it as such by Friday, 17/06/2022. Thank you for your understanding, Ferdinand
  • 0 Votes
    4 Posts
    1k Views
    ferdinandF
    Hello @Futurium, without any further questions and other postings, we will consider this topic as solved and flag it as such by Friday, 17/06/2022. Thank you for your understanding, Ferdinand
  • R21 c4dpy LoadFile always return False

    Cinema 4D SDK sdk python
    6
    2
    0 Votes
    6 Posts
    845 Views
    S
    @ferdinand wow, awesome. It works! thank you so much.
  • Aligning object local axis to world axis via Python

    Cinema 4D SDK python r25
    10
    0 Votes
    10 Posts
    3k Views
    ferdinandF
    Hello @Peek, without any further questions and other postings, we will consider this topic as solved and flag it as such by Friday, 17/06/2022. Thank you for your understanding, Ferdinand
  • Object size not updated after points move

    Cinema 4D SDK python r25
    3
    0 Votes
    3 Posts
    817 Views
    P
    Well, that indeed fixed the issue, now the size gets properly updated! Thank you very much for the help
  • Takes - material override in Python

    Cinema 4D SDK python
    4
    0 Votes
    4 Posts
    908 Views
    ferdinandF
    Hello @stanDM, without any further questions and other postings, we will consider this topic as solved and flag it as such by Friday, 17/06/2022. Thank you for your understanding, Ferdinand
  • Mac M1 bug?

    Cinema 4D SDK r25 python
    8
    0 Votes
    8 Posts
    1k Views
    ferdinandF
    Hello @pim, without any further questions and other postings, we will consider this topic as solved and flag it as such by Friday, 17/06/2022. Thank you for your understanding, Ferdinand
  • Symbol not found: ___chkstk_darwin

    Cinema 4D SDK r23 python c++
    2
    1
    0 Votes
    2 Posts
    634 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.
  • Recording Object Animations with the Mouse

    Cinema 4D SDK python
    3
    0 Votes
    3 Posts
    468 Views
    ferdinandF
    Hello @leon6498 , without any further questions and other postings, we will consider this topic as solved and flag it as such by Friday, 17/06/2022. Thank you for your understanding, Ferdinand