• Complete Replica of a Native Objects UI?

    2023 python
    7
    1
    0 Votes
    7 Posts
    1k Views
    B
    @iplai @ferdinand Thanks for providing details especially the third party API. Seems like a handy utility library I'll see what I can do with it.
  • Merge Undos for the BeginTransaction() method?

    2023 python
    8
    0 Votes
    8 Posts
    1k Views
    B
    @ferdinand gotcha. thanks for clarification and adding links.
  • Wrong Polygon indices

    c++
    3
    1
    0 Votes
    3 Posts
    424 Views
    F
    Hi @m_adam, I just tested your suggestion and worked flawless, thank you very much. Cheers and happy holidays
  • 0 Votes
    2 Posts
    285 Views
    ManuelM
    hi, welcome to the forum and thanks for reaching us out. Thanks for the question and the clarity of it. The issue here is that you are changing the Time value of the keys but not their indexes. One function that could help you is SortKeysByTime but as you can see, it is marked as private. I am not sure why it is marked private here. There might have some cases where this function will not give you the correct result. you could create your own algorithm to sort those keys. Another solution could be to delete those keys and re-insert them, they will be sorted as you insert them. Cheers, Manuel
  • Load XGroup via Python

    python
    2
    0 Votes
    2 Posts
    313 Views
    M
    Hi @cgweasel unfortunately this is not exposed, Xpresso is no longer developed except for critical issues, it is very likely that this will not be added to the API. Cheers, Maxime.
  • Timeline playing - MSG or method to get it?

    2023 python s26
    3
    0 Votes
    3 Posts
    542 Views
    mocolocoM
    Hello @m_adam, Thanks a lot, it works like a charm! Have a good day, Christophe
  • Volume Object Example

    2023 c++
    5
    0 Votes
    5 Posts
    769 Views
    D
    Thanks! That worked for me! Dan
  • Does XRef or XRef simple are now accessible with Python?

    2023 python s26
    7
    0 Votes
    7 Posts
    1k Views
    ferdinandF
    Hey @mocoloco, Should, that's why I asked. Yeah, that is not the style of the classic API, there are only little error messages and things like that. What you can also do, is use the return value of SetParameter, a boolean. It will be False when setting the parameter failed. I used 'Ge' to design all [...] Eh, I understand, you mean from GeDialog, or what? I think it just stands for GenericDialog, it also pops up in thing like GeListNode or GeClipMap. There are some really old entities in the classic API and naming conventions were different then Ge is at least not a name for interface gadgets in our APIs. Cheers, Ferdinand
  • PreferenceData plugin, Text disappears when directory is set

    python r19 sdk
    10
    0 Votes
    10 Posts
    2k Views
    DunhouD
    @m_adam Thanks a lot for this example A big shout out !
  • GeClipMap and init(BaseBitmap)

    c++ sdk
    13
    0 Votes
    13 Posts
    2k Views
    WickedPW
    Sounds like what I'm doing should be OK then. If I run into any problems, I'll pop back in for further advice. Thanks @ferdinand, your help is always appreciated. We can close this one. WP.
  • Info for ITEMTREE/customgui_itemtree

    8
    1
    0 Votes
    8 Posts
    2k Views
    M
    Hi @khor unfortunately Fritz is in holiday, but from what I see this is not possible since few types are not public. I will confirm with him when he will be back, in the meantime I wish you a nice Christmas. Cheers, Maxime.
  • 0 Votes
    9 Posts
    7k Views
    mocolocoM
    Good morning @ferdinand! I modified the whole code to always do my changes inside TagData.Message now instead of doing them in TagData.Execute, which should prevent any crash - even if I didn't got one, it seems far better to stick on the good rules and habit. Have a good day! Christophe
  • How to read Field driven VertexMapTag's

    2023 c++
    4
    0 Votes
    4 Posts
    1k Views
    K
    Yes that's what afraid to hear:) I did iteration over tags of Cache/Deform Cache and compare with GetOrigin() thingy to find related tag. I believe there should be some functionality in the SDK. Thanks for answers!
  • How to set a Shader for Roughness ????

    windows python r23
    7
    0 Votes
    7 Posts
    1k Views
    B
    @Dunhou @ferdinand Gotcha. Thanks for the confirmation and illustration links.
  • IsConnected Method Not Working As Expected?

    2023 python
    9
    0 Votes
    9 Posts
    838 Views
    ManuelM
    @bentraje said in IsConnected Method Not Working As Expected?: P.S. Just some minor nitpick, both method does not return the same type. The first returns a list. While the second return an iterator. Not really a problem per se since I can just convert the iterator to a list. Just some FYI in case you are interested. Thanks a lot for reporting that, we will fix this as soon as possible
  • Need help getting an old script to work in C4D

    python
    8
    0 Votes
    8 Posts
    941 Views
    ferdinandF
    Hello @bstone, Thank you for reaching out to us and welcome to the Cinema 4D community. And thank you @bentraje for answering the question. We do not have to add anything here, @bentraje already pointed out all the important bits Cheers, ferdinand
  • Arrange Selected Node Method?

    2023 python
    3
    1
    0 Votes
    3 Posts
    284 Views
    B
    @manuel gotcha. thanks for the confirmation.
  • Get Spline Points Positions from PLA keyframes

    python
    4
    0 Votes
    4 Posts
    1k Views
    ferdinandF
    Hey @joel, a 'dead' object means that Python tries to reference a node which does not exist in the C++ layer anymore, i.e., has been de- or reallocated. Since my function retrieves the tag on the spot and does not attempt to pass it outside of the function, it seems a bit unlikely that the tag is already dead, at least I am not experiencing any of this. Please provide the scene, code you are running, and the exact stack trace (do not forget to save your script first, so that the trace has the correct line numbers). Otherwise I will not be able to help you. Cheers, Ferdinand
  • Replace "Shape Node"?

    2023 python
    4
    0 Votes
    4 Posts
    558 Views
    B
    @ferdinand Thanks for the outlining the limitation. For options Yep the replace command does not carry over the connection so that's a no go. I just went with the python route. Works as expected. Basically, I just deleted all the points of the spline object through the resize object. Then rebuild it again with the reference. No problem so far. RE: scene nodes. Uhm I really find the nodes implementation clunky at the moment and this is coming from a user who uses Houdini. No plans in implementing it at all in my workflow.And the pyro being implemented as a tag and not as a scene nodes set-up tells a lot that they are not confident in that workflow. Too convoluted for what it is trying to achieve and doesn't use "attributes" like what Houdini and Blender can. I find it as a "toy" at the moment rather than an actual production tool. Anyway, will close this thread for now.
  • Python Cloner Effectors Keyframe

    python
    6
    1
    0 Votes
    6 Posts
    1k Views
    J
    I was able to solve it by searching the DescID in the Cloner Description with the Inheritance Name.