• This topic is deleted!

    1
    0 Votes
    1 Posts
    5 Views
    No one has replied
  • Plugin porting to R20(R21) MacOS problem.

    r20 c++ r21
    6
    0 Votes
    6 Posts
    1k Views
    WTools3DW
    So my problem was actually not related to OSX but to compatibility issues between minor releases. Thanks to your replies I sorted it out. And I finally understand your versioning concept. Thank you Manuel, good job! Regards, Viktor Veličko WTools3D s.r.o. www.lwcad.com
  • DIALOG CONTAINS DESC DATA

    9
    1
    0 Votes
    9 Posts
    944 Views
    M
    You are right @zipit is not a ToolData but a DescriptionToolData. Note that in Python you can register a SculptBrushToolData which derive from DescriptionToolData. But for me, my previous questions are still relevant, what's your final need, and why do you strickly need your dialog to be constructed this way? Cheers, Maxime.
  • Calling a Python plugin from C++ PluginStart()

    r21 c++ python
    4
    0 Votes
    4 Posts
    653 Views
    M
    If it's only a question of executing python, why not directly execute python from C++ using the python library? #include "c4d.h" #include "lib_py.h" PythonLibrary pylib; pylib.Execute("import c4d\nprint 'From Python:', c4d.GetC4DVersion()"_s); Note that in R20 the python.framework was released, and should be used for the future. The old python library (since R15) is still there and still works, but take care that in a future release it may disappear since everything that was possible and even more is now possible with the python.framework. For more information see Python Page. Cheers, Maxime.
  • Update timeline markers on user data slider input.

    Moved python r20 r21
    4
    0 Votes
    4 Posts
    858 Views
    G
    Thank You @m_magalhaes and @zipit Both your suggestions were very helpful. The controller works very well @m_magalhaes I just needed to convert my user data input to BaseTime and it works perfectly. I was able to solve the updating issue to work how I want. I only needed to add: c4d.GeSyncMessage(c4d.EVMSG_TIMECHANGED) Now my timeline markers update nicely as I change values. This topic can be marked solved.
  • How to get the JSON parser to work?

    r21 c++
    5
    0 Votes
    5 Posts
    882 Views
    r_giganteR
    Hi Frank, actually you can deal with by checking the type of the stored value and read it as a maxon::DataDictionary . .. ... if (value.GetType() == maxon::GetDataType<maxon::DataDictionary>()) { nestedDataDict = value.Get<maxon::DataDictionary>() iferr_return; } ... .. , Hope this helps. Riccardo
  • How to deselect item in a fieldList

    r20 r21 python
    7
    0 Votes
    7 Posts
    1k Views
    S
    @m_magalhaes Hey! Added the code you provided and it works nicely, thanks so much! Cheers, Sandi
  • Vertical View of the Timeline

    r21 python
    3
    0 Votes
    3 Posts
    460 Views
    B
    RE: The only possible solution for you would be to develop your own timeline. Okay. Not going that route. Hahaha. Thanks for the confirmation!
  • How to enable object X-Ray option - C++

    c++ sdk
    19
    0 Votes
    19 Posts
    2k Views
    r_giganteR
    Hi @mfersaoui, I thought you were referring to objects pinned under the generator and not children in the cache. In this case checking that the cache is valid before attempting to access any of its methods is mandatory. Last but not least, I think we're running out of options here, cause even attempting to use SpecialEventAdd() / MessageData::CoreMessage() doesn't help too much and leads on some cases to unpredictable results. Best, Riccardo
  • One Liner Console?

    r21 python
    4
    0 Votes
    4 Posts
    537 Views
    M
    I can only confirm it's not possible in Cinema 4D. The thing that matches the more is the Command Line windows. Cheers, Maxime.
  • BaseLink from maxon::Uuid

    r21 c++
    3
    0 Votes
    3 Posts
    679 Views
    A
    ok thanks for the info @m_adam.
  • R21 Console Bug?

    r21 python
    9
    0 Votes
    9 Posts
    961 Views
    r_giganteR
    @bentraje actually there's nothing to get fixed in the future, since it can't be reproduce with a clean installation. Please give it a try with a clean installation and if you're able to achieve the issue and provide us with the steps, we'll look into it. Thanks, Riccardo
  • Store a keyframe as a variable?

    r21 python
    10
    0 Votes
    10 Posts
    1k Views
    B
    Interesting. Thanks for the further clarification!
  • Create object with custom icon in Python

    python
    3
    0 Votes
    3 Posts
    913 Views
    ManuelM
    hello, good you found out how to resolve your issue, for you next thread, please mark your thread as a question as follow Q&A New Functionality. Cheers Manuel
  • Graphview OpenDialog id?

    r19 python
    4
    0 Votes
    4 Posts
    546 Views
    ManuelM
    hello, ID_TREEVIEW_PLUGIN 1001145 ID_EXPRESSION_PLUGIN 1001148 ID_OPERATORPOOL_PLUGIN 1001138 ID_EXPRESSION_TAG 1001149 last one should be but it's not defined in python. ID_CALCULATE_PLUGIN 400009000 cheers, Manuel
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • Is there a way to change the GvNode Port Index

    c++ r21
    6
    0 Votes
    6 Posts
    905 Views
    M
    @Jmelon I'm sorry there is no specific message sent to the GvOperatorData It's all handled in the UI. Cheers, Maxime.
  • Spline with closed and open segments

    python r19 r20
    5
    0 Votes
    5 Posts
    880 Views
    a_blockA
    Thanks, Manuel, for looking into it. Maybe worth a note in the docs? It is a bit confusing, isn't it? Cheers to the entire team, Andreas
  • Dialog refresh works correct in R18... not in R21 ?

    python r21
    12
    0 Votes
    12 Posts
    2k Views
    M
    @m_magalhaes Epic, It works! Thank you very much Manuel!
  • Iterating trough Field list?

    python r20 r21
    6
    0 Votes
    6 Posts
    1k Views
    ManuelM
    hello, I've forked the question to this thread cheers, Manuel