The Maxon SDK Team is currently short staffed due to the winter holidays. No forum support is being provided between 15/12/2025 and 5/1/2026. For details see Maxon SDK 2025 Winter Holidays.
  • Get Deformed Points from Skin Deformer

    r20 python
    3
    0 Votes
    3 Posts
    1k Views
    B
    @m_magalhaes Thank you for the explanation: "The points are stored in a local space (local coordinates)." Printing the three version of points space was really helpful The code works as expected!
  • Force cache rebuild in python

    r19 r20 python
    5
    0 Votes
    5 Posts
    1k Views
    rsodreR
    @m_adam Thanks Maxime. Your example really shows that the cache must be built independent of how much processing it takes. Leaves me knowing that there must be something wrong on my modifiers, and indeed there was. I was checking if bt != nullptr inside ModifyObject(). I remember I copied this from some example, and it was interrupting the modifier to process. When the script is over, it would fire again with bt filled and finish deforming.
  • Disable a tag from Python

    4
    0 Votes
    4 Posts
    1k Views
    B
    Sorry for the delay! Thanks for the help; I did manage to get it working. The ability to drag any control to the console is very useful, so thanks for that tip in particular. I'll take a look at those links, Maxime. Sorry for the hassle.
  • Access the Limit Min/Max in the User Data Manager

    r20 python
    5
    0 Votes
    5 Posts
    993 Views
    B
    @m_adam said in Access the Limit Min/Max in the User Data Manager: In conclusion, you can't drive the enable/disable status of the limit checkbox since this is fully handled by the User Data Manager GeDialog, but you can simulate what this dialog does. Still a bit over my head but thanks for the clarification. So the code pointed above is to simulate what the dialog function.
  • GetRealSpline() not returning a result

    c++ r20 sdk
    13
    0 Votes
    13 Posts
    3k Views
    ManuelM
    hello, @baca To help us keep things clear and organized (and tracked), can you please open your own thread referring to this one and ask your question there. Thanks and Cheers. Manuel
  • Force custom file format in LoadDialog()

    python
    2
    0 Votes
    2 Posts
    512 Views
    r_giganteR
    Hi Shellan, thanks for reaching out us. Assuming that you refer to the Python general function c4d.storage.LoadDialog() at the current time you can't specify a file format since the value passed as force_suffix even is present is ignored - as written in the documentation - . Best, Riccardo
  • Adding Custom Tree to TreeView.

    r20 c++ windows
    8
    0 Votes
    8 Posts
    2k Views
    O
    @mp5gosu I have one last question. on the thread for custom nodes that you mentioned above there was a file which was posted from Niklas. https://raw2.github.com/PluginCafe/examples/master/treeview/custom-nodes/custom-nodes.cpp Since this file was not there anymore and most probably it was a full code of what I am asking for, can it be that you or someone else might have that file somehow? That would be a great help. Thank you.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • R20 Alembic Export Crash

    5
    0 Votes
    5 Posts
    2k Views
    R
    Ah I think you're right - I take the object right from the document without a clone or anything. Thank you!
  • Make editable returning strangely

    r20 c++
    10
    2
    0 Votes
    10 Posts
    2k Views
    D
    I understand, that makes sense to me. Thank you for the help. Dan
  • User data button Python Tag part 2 - No more Notify Messages! Why?

    python r19
    2
    0 Votes
    2 Posts
    568 Views
    Leo_SaramagoL
    I figured it out. The missing piece is a listener that's supposed to be added in main(), something like: def main(): obj = op.GetObject() bc = c4d.BaseContainer() obj.AddEventNotification(op, c4d.NOTIFY_EVENT_MESSAGE, 0, bc) The reason why this was not so obvious earlier today is that I read somewhere that there was no need for adding listeners in main(), that I would be adding unnecessary tasks. This is probably my fault, I may have misinterpreted or assumed things from a different context. But, to my defense, I must say that the code that works has no listeners in it. Have a look! Well, this is where it gets tricky: the listener code had been there indeed, but I had erased it after a few iterations(because I thought it was overkill). This means that the listener is still working despite the fact that I had it erased from the Python Tag code, in other words, it's garbage. I hope this helps other users as well as the Maxon team(you guys rule!) Thanks for your time, Leo
  • problems with CAWeightMgr

    r19 python
    5
    0 Votes
    5 Posts
    1k Views
    R
    Hi Manuel, perfect - in the Script Manager everything works as expected. Running the code via python tag isn't important to me - I just wasn't aware of this difference ScriptMgr <> PythonTag concerning the execution of the code. Thanks a lot for your solution ! Cheers, Jens
  • Disable SimpleListView Item

    c++ r20 sdk
    2
    0 Votes
    2 Posts
    490 Views
    r_giganteR
    Hi Ogers thanks for reaching out us. With regard to your request, I confirm that to deliver the desired functionality you've to stick to TreeView since it's not possible to disable items belonging to a SimpleListView. Cheers, Riccardo
  • GeUserarea crash when Redraw() in Message()

    r20 python
    3
    1 Votes
    3 Posts
    786 Views
    M
    @m_adam oh,i miss this reason,thank you : )
  • 0 Votes
    4 Posts
    1k Views
    Leo_SaramagoL
    @m_magalhaes said in User Data button Python Tag r19 - avoid "index out of depth" console feedback: if desc_id.GetDepth() > 1 Thanks a lot, Manuel! It's perfect now.
  • Toolplugin Crash When Close Cinema 4D

    c++ r20
    8
    1
    0 Votes
    8 Posts
    2k Views
    M
    @r_gigante Thank you for your answer! it s all fine : )
  • Splitting Selections maintaining Point Order

    r20 python
    6
    2
    0 Votes
    6 Posts
    1k Views
    M
    A CRC or a Checksum is basically a way to uniquely identify data. https://www.howtogeek.com/363735/what-is-a-checksum-and-why-should-you-care/
  • Polygon dimensions

    python r20
    4
    1
    0 Votes
    4 Posts
    1k Views
    r_giganteR
    Hi Pim, thanks for reaching out us. With regard to your question, given for comments from Cairyn, I recommend to refine your approach and to look on the web since there are a few different strategies to find the largest inscribed rectangle in a non-convex polygon (among them I recommend having a look at this). With regard to the points walking direction for a given polygon this is defined by the polygon normal and the left-hand rule and it should definitively not be randomly defined. Cheers, Riccardo
  • Unexpected Spline Behavior on Creating IK Spline Tag

    r20 python
    3
    0 Votes
    3 Posts
    595 Views
    M
    Hi @bentraje, since you rotate the axis (with SetMg) you also need to update the tangents according to the correct axis since tangents are in local space of points positions which are also in local space of the object. But as you figured is more rigging than a programming issue. And if you already solve the issue congratz! Cheers, Maxime.
  • Large Delay with Python Interpreter in PyCharm

    r20 python sdk
    3
    0 Votes
    3 Posts
    668 Views
    M
    Hi @blastframe, I can only confirm what's @mp5gosu said, and confirm that c4dpy is a complete Cinema 4D executable, just opened as a python interpreter mode. So nothing to do here, unfortunately. Cheers, Maxime.