• BaseContainer Sort broken?

    python
    7
    0 Votes
    7 Posts
    1k Views
    M
    That's okay, since it is a minor issue. For newcomers however, there should be a hint in the docs, because it clearly states Sorts the container entries by ID. which is not the case.
  • Updating F-Curves in Timeline on EditSlider Drag

    python sdk r23 windows
    4
    0 Votes
    4 Posts
    500 Views
    ManuelM
    @blastframe said in Updating F-Curves in Timeline on EditSlider Drag: What's c4d.EVMSG_FCURVECHANGE for then? After a quick check (sorry, I should have checked yesterday for a more complete answer) literally nothing. It's used nowhere. Cheers, Manuel
  • CCurve.FindPrevUnmuted & CCurve.FindNextUnmuted

    r23 windows python sdk
    3
    0 Votes
    3 Posts
    484 Views
    ?
    @ferdinand Thank you for this; it makes things much clearer. I am very grateful we have the forum to clarify these issues.
  • Collect System Information/Configuration

    r23 c++
    2
    0 Votes
    2 Posts
    374 Views
    ManuelM
    hi, you can have a look at our manual about MachineInterface you will find all the machine information under those attributs Cheers, Manuel
  • Creating a Keyframe similar to Ctrl-Clicking the Curve

    r23 windows python
    3
    2
    0 Votes
    3 Posts
    420 Views
    ?
    @ferdinand That was exactly what I was seeking, thank you, Ferdinand!
  • Description & Example in Documentation for CCurve.AddKey

    python sdk
    2
    0 Votes
    2 Posts
    264 Views
    ferdinandF
    Hi @blastframe, thank you for reaching out to us and for reporting these errors in the documentation. We will fix both the erroneously attributed short description of AddKey as well as the code example in an upcoming update of the C4D SDK Python docs. Cheers and happy coding, Ferdinand
  • Access GradientCustomGui in NodeData::GetDDescription

    c++ sdk
    4
    0 Votes
    4 Posts
    858 Views
    D
    Hi, @m_adam, thanks for the effort. I suspected it will not be possible without a custom GUI/data implementation - I guess I will go with this approach. Cheers, Deyan
  • ShowPopupDialog Freezes Cinema R21

    python r21
    12
    0 Votes
    12 Posts
    2k Views
    A
    @ferdinand Hi Ferdinand, Thank you for your time and help! Will get it sorted with your pointers above. All the best! Andre
  • Plugin compiled on macOS Catalina for R23, not working on Big Sur?

    r23 macos c++
    22
    0 Votes
    22 Posts
    15k Views
    r_giganteR
    @kbar said in Plugin compiled on macOS Catalina for R23, not working on Big Sur?: @fwilleke80 I think setting the hardened runtime when you code sign solves the timestamp issue. I don’t set a timestamp. codesign --force --options runtime --sign 'Developer ID Application: YOURCOMPANYNAME' 'sdk/plugins/yourplugin/yourplugin.xlib' Thanks a lot Kent, for pointing this out! The one below is the string I use which, as said by Kent, doesn't need the timestamp because of the hardened runtime. codesign -f -s "Developer ID Application: <YOUR DEV ID>" --options runtime <binary file>.xlib Documentation updated accordingly
  • Find Plugin remains by Plugin ID and delete - how to tacle.

    r23 python
    5
    0 Votes
    5 Posts
    1k Views
    M
    I just had time to check this hence the holidays. This works with the correct ID (1036219 = Redshift) the nodes render my "cleaned" C4D file again. Thank you very much @m_magalhaes kind regards mogh
  • How to get all elements from BaseSelect

    3
    0 Votes
    3 Posts
    688 Views
    orestiskonO
    Thanks @ferdinand , I misinterpreted the GetRange argument. That clears it up, and thanks for the example as well, it's very useful!
  • Get Spline Data from document->GetActiveObject();

    c++
    8
    0 Votes
    8 Posts
    2k Views
    Y
    @m_magalhaes Thank you, Manuel!
  • Unicode character in a maxon::String... how?

    c++
    3
    0 Votes
    3 Posts
    366 Views
    ManuelM
    hi, thanks a lot for posting the answer. the problem in your first code is that SetUtf32 is that you didn't define your number of character. In the documentation, the count parameter is defined like so: Number of valid characters in the buffer. A count of -1 calculates the string length automatically, terminating when \0 is found 3 solutions : // define the right character number copyright.SetUtf32(&copyrightChar, 1) iferr_return; // define an array of Utf32Char and initialise it maxon::Utf32Char copyrightP[2]{ 0x000000A9 , '\0' }; // Create a buffer in memory maxon::Utf32Char* copyrightP = NewMemClear(Utf32Char, 2) iferr_return; finally { DeleteMem(copyrightP); }; copyrightP[0] = 0x000000A9; copyrightP[1] = '\0'; Cheers, Manuel
  • Python: "Frame Selected" Within a Thread

    python s22
    4
    0 Votes
    4 Posts
    687 Views
    ferdinandF
    Hi @flewis, sorry, there has been some mix-up with access rights, you should be now able to access the page. About your fix: It does not really matter if you do it manually or not. While you can decouple the modification of the node attributes - which is allowed from within a thread - from the redraw event, to carry out that newly computed camera transform, you still will have to invoke a redraw, which you cannot do from within your threaded environment. When you invoke such redraw event, the first thing the internal code does, is to check if its running on the main thread and if not, it just gets out. So there is not much won by doing it manually, at least for what from my understanding is the premise of your problem: To constantly frame the viewport to the object that is currently processed by your async code. Cheers, Ferdinand
  • Changing material projection in takes using Python

    Moved
    12
    0 Votes
    12 Posts
    3k Views
    F
    Thank you @zipit I adopted your solution into our code and it works exactly as expected. Thank you for your help. Best regards, Tomasz
  • Custom ColorField?

    c++ r20
    5
    0 Votes
    5 Posts
    921 Views
    C4DSC
    @zipit Thanks for the detailed info. Much appreciated!
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • Triggering MatPreview update without raising dirty flags

    c++ sdk
    4
    0 Votes
    4 Posts
    850 Views
    D
    Thanks for the effort Maxime (and rendering department). I suspected that it won't be possible, but still asked because I thought I might have missed something. Cheers, Deyan
  • 0 Votes
    4 Posts
    501 Views
    fwilleke80F
    I was in deed calling the code from within PluginStart(). Calling it from PluginMessage(C4DPL_STARTACTIVITY) fixed it. Thank you, Kent! Cheers, Frank
  • Formula node

    2
    2
    0 Votes
    2 Posts
    387 Views
    ManuelM
    hi, thanks for reaching us out and welcome to the forum. Unfortunately, as you can read in our guidlines the scope of this forum is the Cinema 4D's API only. (developing for cinema4D with c++ and python) For other support case/request/suggestion, please contact our regular support I have to remind you that the scene node is still a demo of what we are working on and is still very young. I also have to remind you that the node system is a base where you can create your own assets. Because it's still at a young stage, the node system is changing a lot and your asset could not be compatible anymore with futur release. In your example you can simply create an asset with different aggregate nodes that output all the function you need. In any case, your feedback is appreciated and helpful. Cheers, Manuel