Navigation

    • Register
    • Login
    • Search
    • Categories
    1. Home
    2. Tags
    3. microsoft windows
    Log in to post

    • SOLVED Grabbing a GeUserArea when using InputEvent
      Cinema 4D Development • python microsoft windows r23 • • blastframe  

      4
      0
      Votes
      4
      Posts
      32
      Views

      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
    • SOLVED Erratic Keyboard Messages in GeDialog
      Cinema 4D Development • python microsoft windows r23 • • blastframe  

      7
      0
      Votes
      7
      Posts
      36
      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!
    • SOLVED Animating the Status Spin with Render Progress
      Cinema 4D Development • python microsoft windows r23 • • blastframe  

      3
      0
      Votes
      3
      Posts
      44
      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!
    • SOLVED CUSTOMGUI_FONTCHOOSER Text Disappears
      Cinema 4D Development • python microsoft windows r23 bug report • • blastframe  

      5
      0
      Votes
      5
      Posts
      56
      Views

      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
    • SOLVED Scaling a GeUserArea in a ScrollGroup
      Cinema 4D Development • python microsoft windows r23 • • blastframe  

      4
      0
      Votes
      4
      Posts
      57
      Views

      @ferdinand You are an absolute genius. Thank you so so much, Ferdinand. Incredible!!
    • SOLVED Handles in R18
      Cinema 4D Development • python classic api r19 microsoft windows • • blastframe  

      3
      0
      Votes
      3
      Posts
      33
      Views

      Thank you for letting me know, @ferdinand !
    • SOLVED Drawing to Multiple Views at Once
      Cinema 4D Development • python api microsoft windows r23 • • blastframe  

      5
      0
      Votes
      5
      Posts
      53
      Views

      @ferdinand That's very helpful, thank you!
    • B

      Spline dynamics
      Cinema 4D Development • python r21 microsoft windows • • baca  

      7
      0
      Votes
      7
      Posts
      101
      Views

      B

      @ferdinand you were clear and example is pretty good, I got the idea. No need to write code for me ;) But it's not trivial overall, I just need to spend some time on this. Thanks again.
    • G

      Material Assignments doesn't update when changing TextureTag Material
      Cinema 4D Development • python microsoft windows r23 • • Graeme  

      5
      0
      Votes
      5
      Posts
      21
      Views

      M

      hi, thanks @mp5gosu for the answer. About inserting material before making some changes, there's no real right way of doing it. It just that if something go wrong about the change you are doing, you have to remove the material from the document, while if you don't insert it, you don't have to. As @mp5gosu said it's better to insert the object in the document before linking them. Even if should work if you insert the material after. Cheers, Manuel
    • B

      SOLVED Errors when recompiling R20 plugin to R21
      Cinema 4D Development • c++ r21 sdk microsoft windows plugin migration • • Boony2000  

      6
      0
      Votes
      6
      Posts
      80
      Views

      hi @Boony2000 , these are Visual Studio Intellisense errors which you can safely ignore. If they bother you switch the filter from "Build + Intellisense" to "Build". Cheers, R
    • SOLVED Updating F-Curves in Timeline on EditSlider Drag
      Cinema 4D Development • python sdk microsoft windows r23 • • blastframe  

      4
      0
      Votes
      4
      Posts
      41
      Views

      M

      @blastframe said in Updating F-Curves in Timeline on EditSlider Drag: What's c4d.EVMSG_FCURVECHANGE for then? After a quick check (sorry, I should have checked yesterday for a more complete answer) literally nothing. It's used nowhere. Cheers, Manuel
    • SOLVED CCurve.FindPrevUnmuted & CCurve.FindNextUnmuted
      Cinema 4D Development • python sdk microsoft windows r23 • • blastframe  

      3
      0
      Votes
      3
      Posts
      44
      Views

      @ferdinand Thank you for this; it makes things much clearer. I am very grateful we have the forum to clarify these issues.
    • SOLVED Creating a Keyframe similar to Ctrl-Clicking the Curve
      Cinema 4D Development • python api microsoft windows r23 • • blastframe  

      3
      0
      Votes
      3
      Posts
      37
      Views

      @ferdinand That was exactly what I was seeking, thank you, Ferdinand!
    • A

      SOLVED Custom FieldList is not reevaluated on field change
      Cinema 4D Development • c++ classic api microsoft windows s22 • • Andrew  

      6
      0
      Votes
      6
      Posts
      47
      Views

      M

      hi, this shouldn't make any difference, what do you mean by "my own FIELDLIST gui element" . Can i see how do you add it and initialise it ? Cheers, Manuel
    • SOLVED ReferenceError when trying to Cache a GeClipMap
      Cinema 4D Development • python api microsoft windows r23 • • blastframe  

      3
      0
      Votes
      3
      Posts
      41
      Views

      @zipit Thank you very much, Ferdinand. This helped me a lot!
    • SOLVED Rotating a GeClipMap
      Cinema 4D Development • python sdk microsoft windows r23 • • blastframe  

      11
      0
      Votes
      11
      Posts
      128
      Views

      @zipit Thank you for the information.
    • M

      SOLVED Difficulty with cloners and and lifetime of objects
      Cinema 4D Development • c++ sdk api microsoft windows r23 application development apple macos • • mastergog  

      13
      0
      Votes
      13
      Posts
      125
      Views

      M

      All right, thank you for all the help. I'll close this now.
    • M

      SOLVED Calling ExecuteOnMainThread() from ObjectData::GetVirtualObjects()
      Cinema 4D Development • c++ sdk api microsoft windows issue apple macos • • mastergog  

      17
      0
      Votes
      17
      Posts
      110
      Views

      M

      Glad you found a way and yes I think it's safe now :) I guess there is no more open pint? If so I let you define your topic as solved (see Forum Structure and Features - Ask as Question If you don't know how to do it). Just in case a BaseContainer can also store a BaseContainer. so you could store your own BaseContainer at the ID_PLUGIN And in this BaseContainer at ID 0 stores, the obj counts, and then you can safely iterate over it. Cheers, Maxime.
    • M

      SOLVED How to disable orange highlight on per object basis
      Cinema 4D Development • c++ sdk classic api microsoft windows r23 maxon api apple macos • • mastergog  

      4
      0
      Votes
      4
      Posts
      69
      Views

      M

      @m_adam Thanks for the clarification. Regards, Georgi.
    • SOLVED Finding Control ID in ObjectData Plugin Message() Override
      Cinema 4D Development • python api microsoft windows r23 • • blastframe  

      9
      0
      Votes
      9
      Posts
      90
      Views

      @zipit Hi, thank you for the message. Yes, I believe I already understood everything you explained and I do appreciate your efforts. I knew I wasn't doing anything with the descid in my code, I was just confused as to why when I change one attribute, I was getting MSG_DESCRIPTION_POSTSETPARAMETER messages from all of the attributes as opposed to just the one attribute. Perhaps it is something else in my code that is sending those. Regardless, it isn't hugely important, I was trying to be as efficient as possible. Thank you.