• Grabbing a GeUserArea when using InputEvent

    r23 python windows
    4
    1
    0 Votes
    4 Posts
    533 Views
    ferdinandF
    Hi @blastframe, yes, that would be one, and probably the more modern way to do it. I personally like also an explicit call to the base implementation. I think it is more readable for someone else reading your code. But that is probably a rather subjective choice. So for clarity, I am speaking about something like this: foo = bar * baz return c4d.gui.GeUserArea.InputEvent(self, msg) There is of course the advantage of super taking care of calling the proper implementation(s) for you which is not taken care of by this approach, but you cannot have everything and in this case things are rather unambiguous for us here Cheers, Ferdinand
  • Erratic Keyboard Messages in GeDialog

    python r23 windows
    7
    0 Votes
    7 Posts
    1k Views
    ?
    @mp5gosu Sorry, I missed it! That works! In case other devs have a solution, I'll mark yours as the right answer. Thank you!
  • Animating the Status Spin with Render Progress

    python windows r23
    3
    0 Votes
    3 Posts
    475 Views
    ?
    @ferdinand Thank you, Ferdinand for the thorough answer and ideas for workarounds. I don't quite have my head around how to use threading in Cinema 4D yet but you've inspired me to look into it. Thank you!
  • C4D 23 and Visual Studio Code Problem

    4
    2
    0 Votes
    4 Posts
    984 Views
    ferdinandF
    Hi @PATPAT, you can do it, you just cannot use the dummy package for it, but have to use the c4dpy interpreter instead. Cheers, Ferdinand
  • Write to C4D console in real time

    python
    14
    0 Votes
    14 Posts
    3k Views
    indexofrefractionI
    @ivodow how is your ConsolePrint() different to a simple print() statement? in my test i didn''t get a real time output with ConsolePrint() best, index
  • CUSTOMGUI_FONTCHOOSER Text Disappears

    python windows r23
    5
    0 Votes
    5 Posts
    576 Views
    ferdinandF
    Hi @blastframe, so this is a bug that happens independently of Python. It also not connected to your example using a dangling dialog, but to the fact that it is using a dialog. When you implement some form of NodeData plugin and a FONT resource element in it, this bug won't happen. I have opened a bug report for this. For now you would have to either use my little workaround or move outside of a GeDialog environment an implement the whole plugin as some form of NodeData plugin. If a dialog is of high priority for you, you could also display an instance of that node in a DescriptionCustomGui inside your dialog. Which should work and somewhat be a mix of both options. Cheers, Ferdinand
  • Custom register plugin

    8
    0 Votes
    8 Posts
    2k Views
    M
    @WickedP yes you can assume it. Cinema 4D first loads all dlls, then PluginMessage is forwarded to each dlls.
  • From string to constant to check type

    6
    0 Votes
    6 Posts
    1k Views
    John_DoJ
    Thank you for the explanation @ferdinand. The example makes sense even for a beginner like me, that's great
  • Purely dynamic description for shader?

    r21
    15
    0 Votes
    15 Posts
    3k Views
    ferdinandF
    Hi @Filip, okay, thank you for the clarification. Cheers, Ferdinand
  • Error: Wrong indentation of namespace member

    macos c++ r23
    9
    2
    0 Votes
    9 Posts
    2k Views
    fwilleke80F
    Wow, I never thought of that. Very good to know, thank you for asking! Cheers & have a nice weekend, Frank
  • TEXTURE resource parameter

    c++ r23
    4
    0 Votes
    4 Posts
    724 Views
    rsodreR
    Thanks, seems to be working now, thanks.
  • Querying and Storing Object Information

    Moved python
    9
    0 Votes
    9 Posts
    2k Views
    ferdinandF
    Hi @Sturdy_Penguin , without further questions or feedback, we will consider this thread as solved by Monday and flag it accordingly. Cheers, Ferdinand
  • Reflection Layer Settings

    python
    4
    1
    0 Votes
    4 Posts
    714 Views
    ferdinandF
    Hi @kosmos3d, without further questions or feedback, we will consider this thread as solved by Monday and flag it accordingly. Cheers, Ferdinand
  • PYTHON - Getting CTsound volume strength on current frame

    python
    5
    0 Votes
    5 Posts
    992 Views
    ferdinandF
    Hi @SolarPH, without further questions or feedback, we will consider this thread as solved by Monday and flag it accordingly. Cheers, Ferdinand
  • SceneHook and object caches

    r20 c++
    13
    0 Votes
    13 Posts
    2k Views
    ferdinandF
    Hi @C4DS, with some delay comes here a request for closing this. If you want to keep it open for now, you can push it one more cycle ahead, but at some point I will insist on closing it without further activity. Thank you for your your understanding. Without further questions or feedback, we will consider this thread as solved by Monday and flag it accordingly. Cheers, Ferdinand
  • Wrong random clone displayed issue

    python r23 s22
    11
    1
    0 Votes
    11 Posts
    2k Views
    ferdinandF
    Hi @jochemdk, without further questions or feedback, we will consider this thread as solved by Monday and flag it accordingly. Cheers, Ferdinand
  • LineObject custom segment colors

    r23 sdk c++
    7
    0 Votes
    7 Posts
    1k Views
    ferdinandF
    Hi @mastergog, thank you for reaching out to us. I can reproduce your problem and this would have not been something which we would have expected. If you go significantly over one million segments (1.1 million still works for me for example) no matter if in one node or scattered over multiple nodes, the viewport will freeze. It is a bit hard to assess for us at the moment if this a bug or just a limitation of our viewport API. We will investigate the problem and I will report back here if there are going to be any short or mid-term fixes for that (or not if this is a limitation). For now there is unfortunately nothing you can do, since spreading out the segments over multiple nodes won't help you. Sorry for the inconvenience and cheers, Ferdinand
  • Gradient GRADINTPROPERTY_NOBIASPOSITION not working

    c++ sdk
    7
    0 Votes
    7 Posts
    1k Views
    D
    Hi @ferdinand, Thanks for looking into this. It is not so crucial to hide the handles - I will try the custom GUI approach as you suggest.
  • This topic is deleted!

    6
    0 Votes
    6 Posts
    63 Views
  • SSL TLSV1_ALERT_PROTOCOL_VERSION Error on Mac

    r19 python macos
    3
    0 Votes
    3 Posts
    1k Views
    ?
    @m_adam Thank you, Maxime! Have a good weekend.