• Invalid Interpreter for Python IDE PyCharm

    python
    3
    0 Votes
    3 Posts
    883 Views
    C
    Hi , very embarrassing Now I can start to try to debug. Thank you for pointing me to the rules. Tried to set your answer as the correct one... did not get the menu point
  • BaseContainer and range-based loop

    r20 r19 c++
    7
    0 Votes
    7 Posts
    1k Views
    C4DSC
    @m_magalhaes Ah! However, I had preferred it was me who had overlooked these all those years. As this means I will still need to find a different solution for pre-R20 compatibility.
  • SOLO button - viewport very slow

    windows r19
    2
    0 Votes
    2 Posts
    509 Views
    ManuelM
    hello, we are sorry to hear that. Unfortunately this forum is for maxon API support and for every thirds party developers. Your issue look like a bug or something, you have to use this platform instead side remark : As this is your first post i would also like to point you to this topic I've set this up this time but it is important, that will help us and the community. Cheers Manuel
  • Spline Generator based on Generator

    3
    0 Votes
    3 Posts
    574 Views
    bacaB
    @m_adam Oh, yes! Thanks, it works just fine.
  • 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
    988 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
    502 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
    561 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
    469 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
    759 Views
    M
    @m_adam oh,i miss this reason,thank you : )
  • 0 Votes
    4 Posts
    992 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 : )