• Storing a part of the hierarchy

    r20 c++
    20
    0 Votes
    20 Posts
    3k Views
    P
    Thanks for all the support. I will use all the knowledge gained and start testing. I am sure, I will be back with more questions. -Pim
  • Custom Object Icon in R21 python

    python
    2
    0 Votes
    2 Posts
    722 Views
    M
    Hi @affa May I ask you in which context you are? Can you share your code? Did you take a look to the py-custom_icon.pyp plugin example. Cheers, Maxime.
  • IsolateObjects question

    r20 python
    7
    2
    0 Votes
    7 Posts
    1k Views
    P
    Aha, thanks.
  • Python plugin priority

    python
    3
    0 Votes
    3 Posts
    536 Views
    fwilleke80F
    OK, thanks!
  • Is CalculateVisiblePoints() useable?

    c++ r20 sdk
    3
    0 Votes
    3 Posts
    534 Views
    D
    Thank you, Riccardo. That was exactly what I was doing wrong. Dan
  • Set Knot Value of RangeData, bug?

    Moved r19 python
    3
    0 Votes
    3 Posts
    888 Views
    G
    Thank You, How embarrassing I forgot to write back to the UserData. (I shouldn't code late at night) Solved.
  • Cloner with multi-instance

    c++ r21
    4
    0 Votes
    4 Posts
    1k Views
    ManuelM
    hello, without further addition on your part, this thread will be considered as solved tomorrow. Cheers, Manuel.
  • Cloth Surface object ID name

    sdk c++
    4
    0 Votes
    4 Posts
    758 Views
    ManuelM
    hello, up to version R20 you can use GeGetVersionType but this have been removed with the version R21 (we only have one package now) With the version R21 follow you have several functions see this page to check the version you can check for API_VERSION #if API_VERSION > 20999 ApplicationOutput("this is a message"); #else GePrint("this is a message"); #endif Cheers Manuel
  • Any reason SceneHook is still not supported by Python?

    sdk r21 python
    3
    0 Votes
    3 Posts
    624 Views
    CairynC
    @m_adam Thanks, yes, you're right, a timer may be my best choice here to avoid too much load on the system. Checking the project list every 3 seconds or so should suffice for the usecases. And since I'm in a GeDialog, the timer function is easy to implement. (I just have to take care that within the 3 seconds, the state of the dialog may be inconsistent with the actual system state.)
  • Keyframe Selection Code from Cineversity

    r21 python
    3
    0 Votes
    3 Posts
    499 Views
    B
    @zipit Thanks for the clarification. Yea, I guess so but just learning as much as I can. Thanks again!
  • AddUndo() for MergeDocument() ?

    16
    0 Votes
    16 Posts
    4k Views
    ManuelM
    hi, nice, feel free to share your solution and mark this thread as solved. Cheers, Manuel
  • 0 Votes
    3 Posts
    815 Views
    J
    @m_magalhaes thanks, looking forward to the next update
  • 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
    2k 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
    1k 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
    786 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
    1k 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
    1k 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
    2k 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
    559 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!