• Weight Manager Window access help

    Cinema 4D SDK python r20
    7
    1
    0 Votes
    7 Posts
    1k Views
    chuanzhenC
    @zipit Thanks for showing me so much detail.
  • 0 Votes
    3 Posts
    481 Views
    ferdinandF
    Hi, thank you for the clarification. Cheers zipit
  • Spline User Data Presets

    Cinema 4D SDK python r20
    11
    0 Votes
    11 Posts
    2k Views
    G
    Thank You @m_magalhaes very helpful! I succeeded. I should have been able to figure this out from the example in the API. I've used the code basically as you have it with my spline datas saved in different hyperfiles. I then load that data from my tag. Thanks again.
  • C4D Crashes on Getting All Specific Type of Objects

    Cinema 4D SDK r20 python
    4
    0 Votes
    4 Posts
    522 Views
    B
    @zipit Thanks for the response and clarification. Works as expected @m_magalhaes Sorry about that. Will be more careful next time.
  • Retrieving particle positions for Multi-Instance

    Cinema 4D SDK c++ r20
    3
    0 Votes
    3 Posts
    717 Views
    P
    Thank you for your help !
  • Default startup settings

    Cinema 4D SDK r20 maxon api sdk windows c++
    8
    0 Votes
    8 Posts
    2k Views
    O
    Thank you for the help @m_magalhaes
  • Browsing Plugin Paths

    Cinema 4D SDK c++ sdk r20
    4
    0 Votes
    4 Posts
    2k Views
    D
    Thank you both for the replies! Between both of them I have exactly what I need, thanks.
  • Linker Error: LIMIT<Int32>::MAX undefined

    Cinema 4D SDK r20 c++
    3
    0 Votes
    3 Posts
    454 Views
    fwilleke80F
    Hi Sebastian! Thanks for you quick reply. He will try and reduce the code as much as possible (as it is a commercial project of your company). When he's done, I'll send it over. I am aware that you can't do much without example code. We were hoping there were some common stumble stones you might have come across. Another thing worth mentioning might be that the linker only fails when building on macOS. Windows is doing fine... Cheers, Frank
  • Change an attribute from a dialogue plug-in

    Cinema 4D SDK r20 python
    12
    0 Votes
    12 Posts
    1k Views
    B
    @s_bach RE: You have to find a way to avoid that unnecessary rebuild of your layout after user interaction in your dialog. I'm not really sure how to do that. Since I just butchered the code from a sample plug-in. That will probably a problem for another thread. Anyway, it's functional at the moment. I'll settle for this. Thanks again and sorry for the trouble. Will close the thread now. Have a great day ahead!
  • Tag plugin and rendering

    Cinema 4D SDK r20 python
    3
    0 Votes
    3 Posts
    387 Views
    S
    Hello, without seeing your code or any error message it is impossible to give any advice. But "works in viewport but not in rendering" sounds like you are using c4d.documents.GetActiveDocument() somewhere. See also BaseDocument Manual. best wishes, Sebastian
  • 0 Votes
    9 Posts
    2k Views
    ManuelM
    Hello, This thread will be considered as solved tomorrow unless you have something to add ? Cheers, Manuel
  • 1 Votes
    4 Posts
    876 Views
    ferdinandF
    Ok, thank you. I was a bit unsure what "one ring points" are supposed to be and if this is actually a bug and not a feature Cheers, zipit
  • 0 Votes
    5 Posts
    1k Views
    S
    Hello, I tested it with the Gradient Shader example from the cinema4dsdk and it works fine as far as I can tell. I just removed the check for ASSETDATA_FLAG::TEXTURESONLY: Bool SDKGradientClass::Message(GeListNode* node, Int32 type, void* data) { switch (type) { case MSG_GETALLASSETS: { AssetData* const assetData = static_cast<AssetData*>(data); // checks if only texture assets should be added if (assetData == nullptr) return true; BaseList2D* const baseList2D = static_cast<BaseList2D*>(node); if (baseList2D != nullptr) { // get the file name const Filename path = baseList2D->GetData().GetFilename(GRAD_FILE); // check if the file name is set if (path.IsPopulated()) { // add the file name assetData->Add(path, nullptr); } } break; } } return SUPER::Message(node, type, data); }; Regarding Shader hierarchies: I guess you can send the message to your child-shaders yourself, to make sure they receives the message. best wishes, Sebastian
  • Camera animation to Text file?

    Moved Cinema 4D SDK r20 python
    3
    0 Votes
    3 Posts
    880 Views
    V
    This is a great start - will defiantly be using this to get closer to the desired end result Thanks so much Manuel for your help!
  • Unusual Dynamic Inputs from GeDialog

    Cinema 4D SDK r20 python
    3
    0 Votes
    3 Posts
    415 Views
    B
    @m_adam Thanks for the help. Works as expected. Have a great day ahead!
  • Jiggle modifier not cached

    Cinema 4D SDK c++ r20 r19
    3
    0 Votes
    3 Posts
    452 Views
    ManuelM
    Hello, Regarding the question yes, using GetDeformCache is the way to go. Using one object, there's not too much difference between MCOMMAND_CURRENTSTATETOOBJECT and MCOMMAND_JOIN as the MCOMMAND_JOIN is calling a MCOMMAND_CURRENTSTATETOOBJECT for each object. The obvious part is that the Join command will create one object while the other will return a hierarchy. (if there are children) Cheers, Manuel
  • [python] SetFont not working

    Cinema 4D SDK r20 sdk python
    6
    0 Votes
    6 Posts
    2k Views
    I
    @m_adam said in [python] SetFont not working: In which version are you? The code I posted is working nicely in R20.059. 20.059. Before i tried any methods, that's my fail. Not work for me. From new start of c4d. - it works
  • Generator Plugin update while under Fracture Object

    Cinema 4D SDK r20 python
    4
    0 Votes
    4 Posts
    792 Views
    ManuelM
    Hello, Sorry for the delay. The bugs have been confirmed and will be fixed on a futur release. Cheers Manuel
  • Highlighted Command Text/Icon when it is executed?

    Cinema 4D SDK r20 python
    7
    0 Votes
    7 Posts
    871 Views
    B
    Thank you @m_adam. Work as expected! (I actually just ended up learning about the decorator property since its new to me. haha. Thanks for that). Just want to confirm, am I right to think this is the code flow: Register Plug-In @property state GetState Execute(Button Click) @state.setter state @property state GetState Then back again to #4 for the click.
  • DrawHUDText returns a white box instead of a text?

    Cinema 4D SDK r20 python
    19
    0 Votes
    19 Posts
    3k Views
    M
    Regarding the Z setting of DrawHUDText (I'm not sure about which one to be honest since there is no Z param for this method) previously the fact that HUD was behind poly object was a limitation regarding how our draw call was done by the viewport, but this is addressed in S22 and its the expected result that a HUD text is not overridden by any other objects but act as a HUD and to be draw in front of everything. Cheers, Maxime.