• How to pass a value from GeDialog to another class

    5
    0 Votes
    5 Posts
    937 Views
    D
    @ferdinand Thank you for your awesome explanation! I will keep this post as a reference for my studies as your approach seems a bit complicated for my understanding at the moment. I'm learning a lot with your contribution in this forum, and in this case here it's not gonna be different. Cheers
  • Keyframing morph pose animations in Python

    Moved python
    7
    1 Votes
    7 Posts
    2k Views
    ferdinandF
    Hello @augustin, without any further questions we will consider this topic as solved by Friday, December the 17th. Thank you for your understanding, Ferdinand
  • select subobjects assign command

    r21
    4
    0 Votes
    4 Posts
    671 Views
    ferdinandF
    Hello @WDP, without any further questions we will consider this topic as solved by Friday, December the 17th. Thank you for your understanding, Ferdinand
  • Python script to keyframe visibility of object

    Moved
    4
    0 Votes
    4 Posts
    1k Views
    ferdinandF
    Hello @augustin, without any further questions we will consider this topic as solved by Friday, December the 17th. Thank you for your understanding, Ferdinand
  • How to traverse a GeListNode tree

    python r25 r23 s24 windows macos
    5
    0 Votes
    5 Posts
    2k Views
    ferdinandF
    Hello @WDP, without any further questions we will consider this topic as solved by Friday, December the 17th. Thank you for your understanding, Ferdinand
  • Global change notifications

    c++ sdk
    3
    0 Votes
    3 Posts
    476 Views
    ferdinandF
    Hello @BarnaBuzaVentuz, without any further questions we will consider this topic as solved by Friday, December the 17th. Thank you for your understanding, Ferdinand
  • Assignment Grouped

    r21
    6
    0 Votes
    6 Posts
    898 Views
    ferdinandF
    Hello @wdp, without any further questions we will consider this topic as solved by Friday, December the 17th. Thank you for your understanding, Ferdinand
  • 0 Votes
    9 Posts
    1k Views
    ferdinandF
    Hello @jenandesign, without any further questions we will consider this topic as solved by Friday, December the 17th. Thank you for your understanding, Ferdinand
  • Mospline iterate start/end

    4
    0 Votes
    4 Posts
    757 Views
    ferdinandF
    Hello @ashambe, without any further questions we will consider this topic as solved by Friday, December the 17th. Thank you for your understanding, Ferdinand
  • How to move multiple objects axis to origin?

    Moved python
    4
    0 Votes
    4 Posts
    1k Views
    ferdinandF
    Hello @wilsonic, without any further questions we will consider this topic as solved by Friday, December the 17th. Thank you for your understanding, Ferdinand
  • 0 Votes
    4 Posts
    1k Views
    ferdinandF
    Hello @yaya, without any further questions we will consider this topic as solved by Friday, December the 17th. Thank you for your understanding, Ferdinand
  • Cutome Render Token do not update Filename each Frame

    11
    1
    0 Votes
    11 Posts
    2k Views
    ferdinandF
    Hello @nason, without any further questions we will consider this topic as solved by Friday, December the 17th. Thank you for your understanding, Ferdinand
  • Remove settings from Render Settings

    r23 s24 r25 c++
    2
    1
    0 Votes
    2 Posts
    415 Views
    ManuelM
    Hi, you must overload the RenderEngineCheck function and return false if the passed ID are those settings. The documentation has some example. Cheers, Manuel
  • SetTimeRight fail!

    python s22
    10
    0 Votes
    10 Posts
    2k Views
    chuanzhenC
    @ferdinand I also use ScreenToGif to make pictures!
  • How do dynamical systems update objects?

    c++ r21
    6
    0 Votes
    6 Posts
    1k Views
    ManuelM
    Hi, the scenehook is called from the CoreThread, that's why you must be sure that your sceneHook is 100% safe and not blocking/crashing. I can't talk about our internal implementation. But, to save some time, you could disable the dynamics on the project settings, and keep using our tags to retrieve the data, parameters to drive the simulation. Cheers, Manuel
  • How to get VolumeData?

    r21 c++
    5
    0 Votes
    5 Posts
    780 Views
    ferdinandF
    Hey @aimidi, I need further optimization, and I need to check whether the scene (tags, objects, et cetera) has been changed. Does BaseDocument.Polygonize()copy the Dirty and HDirty of the object? This why I hinted at Polygonize() not always being up to the task. There is unfortunately no easy way to get informed about specific classic API scene graph changes. There is the broad core message EVMSG_CHANGE which is sent by EventAdd() and will inform you that 'something' changed but exactly not what did change. Which makes it quite a bit of work to synchronize two scene graphs in a performant way, the classic API one from Cinema 4D and one from an external render engine, as you then have to determine the change yourself. And if it is a relevant one, as you might not care about all scene elements of the Cinema 4D scene graph in the render engine scene graph. One useful pattern to use in this context are GeMarker and the MAXON_CREATOR unique ID attached to nodes. This is because scene elements get reallocated quite often in the Cinema 4D scene graph, so you cannot simply have an object 'MyCube' in your renderer scene graph which holds a BaseObject pointer to its Cinema 4D scene counter part for synchronization purposes. And to answer your question about dirty flags: No, Polygonize() will copy objects and transform generators into discrete geometry. They cannot share dirty flags (see example at the end). Cheers, Ferdinand import c4d def main(): """ """ docFirst = doc.GetFirstObject() print (f"{docFirst.GetHDirty(c4d.HDIRTYFLAGS_ALL)=}") temp = doc.Polygonize() tempFirst = temp.GetFirstObject() print (f"{tempFirst.GetHDirty(c4d.HDIRTYFLAGS_ALL)=}") if __name__=='__main__': main() docFirst.GetHDirty(c4d.HDIRTYFLAGS_ALL)=5 tempFirst.GetHDirty(c4d.HDIRTYFLAGS_ALL)=3
  • GetAndCheckHierarchyClone + dynamics

    7
    0 Votes
    7 Posts
    1k Views
    bacaB
    @ferdinand Thanks, no issues so far.
  • Visibility Red Button

    python
    6
    0 Votes
    6 Posts
    1k Views
    ferdinandF
    Hello @WDP, when there are no further questions, we will consider this topic as solved by Wednesday, December the 1st. Thank you for your understanding, Cheers Ferdinand
  • CustomGui and CustomDataType examples... not used anywhere?

    c++ classic api sdk
    6
    0 Votes
    6 Posts
    1k Views
    ManuelM
    hi, sorry i didn't had time to investigate yesterday. I'm happy that you find out the solution. Cheers, Manuel
  • About TimeLine Coordinate System

    s22 python
    3
    0 Votes
    3 Posts
    731 Views
    chuanzhenC
    @ferdinand Thanks for your detailed reply! " 2.The timeline (and as a matter of fact also the world coordinate system) has no implied unit. There is no direct translation as 1px == 1cm as both the horizontal axis and vertical axis depend on the zoom level." solved my question!