Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login
    1. Maxon Developers Forum
    2. gheyret
    3. Topics
    • Profile
    • Following 5
    • Followers 2
    • Topics 48
    • Posts 145
    • Best 9
    • Controversial 0
    • Groups 0

    Topics created by gheyret

    • gheyretG

      KDTree or OcTree with C4D Python

      General Talk
      • chit-chat • • gheyret
      5
      0
      Votes
      5
      Posts
      770
      Views

      gheyretG

      tend to be very complex computationally and therefore not very sensible to be implemented in Python.

      yeah, I forgot the BaseView, but whatever, I agree whit you.
      And this is just the beginning, I'm still in the research and testing phase.
      My final goal is to write a procedural tree generator, so maybe combine L-System to improve some performance, I'll also try to write an Octree.
      Thank you for your suggestion and reply.

      Cheers!
      Gheyret

    • gheyretG

      Get command information from command palette

      Cinema 4D SDK
      • python 2025 2024 2023 • • gheyret
      5
      0
      Votes
      5
      Posts
      451
      Views

      gheyretG

      I get it, thanks for your reply and keeping the idea.
      If there are any workarounds or alternative solutions in the meantime, please let me know.
      I look forward to any updates regarding this feature in the future.
      Cheers~

    • gheyretG

      Get and Set any parameter with Tag

      Cinema 4D SDK
      • 2023 2024 2025 python • • gheyret
      3
      0
      Votes
      3
      Posts
      370
      Views

      gheyretG

      Hi @i_mazlov
      I can't use C++ at the moment, so I thought I'd try MultilineEditText for my purposes.
      I looked for This post in the forum and now I have some ideas.
      Thank you for your reply!

      Cheers~

    • gheyretG

      Objects are still not displayed after ChangeNBit is works

      Bugs
      • python 2024 2025 • • gheyret
      3
      0
      Votes
      3
      Posts
      701
      Views

      gheyretG

      Thank you for your reply and solution!
      Cheers~

    • gheyretG

      Set Tangnet of Spline

      Cinema 4D SDK
      • python • • gheyret
      3
      0
      Votes
      3
      Posts
      484
      Views

      gheyretG

      Hi @ferdinand !
      Sorry for late reply, and thank you very much for your detailed and thorough explanation, and for taking the time to explain the relationship between linear algebra and trigonometry in the context of computer graphics and transformations.
      As a beginner, all I want to do here is to practice as much as I can with the knowledge I've learned, and I apologize if I didn't explain clearly.
      Yes, in the code I want to implement is placing two tangent handle relative to the two input objects a and c.
      Compared to calculating with trigonometric functions, your suggestion seems more straightforward and clear, and I never would have thought to use vectors to achieve this, I need to keep practicing.
      I will take the time to review the thread you mentioned.
      Thank you again for your support and guidance. Thank you very much for your insights!

    • gheyretG

      Get information about BasePlugin

      Cinema 4D SDK
      • windows python 2024 • • gheyret
      8
      0
      Votes
      8
      Posts
      993
      Views

      gheyretG

      Thanks for your explaination @ferdinand
      Now I understand what's going on here.

      Cheers!

    • gheyretG

      Is that possible to get current active subwindow of C4D?

      Cinema 4D SDK
      • windows python 2024 • • gheyret
      3
      0
      Votes
      3
      Posts
      584
      Views

      gheyretG

      Thanks for your explanation @m_adam , Yes it's a CommandData plguin but no GeDialog.
      Because of some limitations, I had to use PySide to create my plugin's special user interface.

    • gheyretG

      Can I get the plugin(Command) help string in other C4DThread?

      Cinema 4D SDK
      • windows python 2024 • • gheyret
      4
      0
      Votes
      4
      Posts
      489
      Views

      ferdinandF

      Hey everyone,

      just to add a little disclaimer here, as Maxime gave a very hacking friendly answer with the a bit tame warning 'do it at your own risk'.

      What you are tyring to do is out of scope of support because it is a violation of the threading restrictions. The whole core message system is about events and UI, both things that are inherently bound to the main thread.

      Maxime's code just circumvents the main-thread check someone once put into our code for a reason, as that person also made sure to put a warning into the docs. When you are someone like Maxime, i.e., you know all the bits and bytes of Cinema 4D on a first-name basis, you can make a workaround like this work. But for everyone else I would strongly recommend not circumventing such things in production code. Just because a hack runs fine on a development machine, does not mean that a customer might not lose work due to a crash induced by such hack.

      The underlying issue we talked about this morning, is that in C++ one can easily defer things to the main thread with the aptly named ExecuteOnMaainThread while in Python one cannot. We are aware of this issue but it is quite costly to solve. An outcome of this thread, was that we at least promoted the priority of the already existing ticket for this issue in our task pool. We can however give no ETA when we will fix this, as doing this will cost quite some time.

      Cheers,
      Ferdinand

    • gheyretG

      Is that possibe to Hide Object in Active BaseDraw?

      Cinema 4D SDK
      • python 2024 windows • • gheyret
      3
      0
      Votes
      3
      Posts
      405
      Views

      gheyretG

      Hi @ferdinand,
      Thanks for your reply.
      I just want to make sure if it's possible.
      And I'll try the BaseDraw.DrawObject later.

    • gheyretG

      How to store BaseShader to HyperFile

      Cinema 4D SDK
      • windows python 2024 • • gheyret
      7
      0
      Votes
      7
      Posts
      871
      Views

      gheyretG

      Hi @ferdinand ,

      Yeah! I'm actually considering saving the shader to .c4d file as well.
      But it would be great if posible to store BaseList2D in Hyperfile.

      Thank you!
      Cheers!

    • gheyretG

      Nothing happen when runing generate_solution_win.bat

      Cinema 4D SDK
      • windows c++ 2024 • • gheyret
      9
      0
      Votes
      9
      Posts
      961
      Views

      gheyretG

      Yeah, it's a little bit anoying, but the problem's solve!
      Ready for rocking with C++! wohoo~ 😀

    • gheyretG

      Can I get the typing (input) event in cinema 4d?

      Cinema 4D SDK
      • windows python 2024 • • gheyret
      3
      0
      Votes
      3
      Posts
      454
      Views

      gheyretG

      Hi @ferdinand,
      Thank you for your reply.
      And I will try it later today.

    • gheyretG

      [FREE PLUGIN] Redshift ShaderLink

      General Talk
      • plugin-information • • gheyret
      1
      1
      Votes
      1
      Posts
      597
      Views

      No one has replied

    • gheyretG

      [FREE PLUGIN] Redshift Light Manager

      General Talk
      • plugin-information download • • gheyret
      2
      3
      Votes
      2
      Posts
      884
      Views

      S

      Hello. I have a looupdeck., is it possible to link the light Manager to (redshift) to the knobs, So I can control the intensity and Exposure

    • gheyretG

      Is that possible to hide column (header) in TreeView?

      Cinema 4D SDK
      • windows 2023 2024 python • • gheyret
      5
      0
      Votes
      5
      Posts
      940
      Views

      gheyretG

      @czt_306 It looks realy cool!

    • gheyretG

      Is there any plans to supprot DRAGTYPE_COMMAND in the future?

      General Talk
      • chit-chat • • gheyret
      5
      0
      Votes
      5
      Posts
      926
      Views

      gheyretG

      Hi @m_adam
      It's nice to hear that, and thank you!

    • gheyretG

      Undraw Slider in TreeView?

      Cinema 4D SDK
      • windows python 2024 • • gheyret
      3
      0
      Votes
      3
      Posts
      430
      Views

      gheyretG

      Hi!@ferdinand
      Yes , That's what i want to do!
      I never didn't know LV_CHECKBOX_HIDE would work with LV_SLIDER, I simply assumed that it would only work with LV_CHECKBOX and LV_CHECKBOXUSER.
      But anyway i test it in my code , and it works perfectly!
      Thank you so much for your reply.😁

      Cheers~

    • gheyretG

      Which DisplayFilter affects ToolData.draw

      Cinema 4D SDK
      • 2023 2024 s26 python • • gheyret
      3
      0
      Votes
      3
      Posts
      429
      Views

      gheyretG

      Hi @ferdinand ,

      I'm sorry that my title and description may be a little confused, maybe I misunderstood something and thought a little complicated.
      And thank you very much for your answer, you always help me when my thinking is confused.

      Cheers!
      Gheyret

    • gheyretG

      How to draw a primitive object in BaseDraw

      Cinema 4D SDK
      • python 2023 2024 s26 • • gheyret
      3
      0
      Votes
      3
      Posts
      500
      Views

      gheyretG

      Hi @ferdinand

      Thank you for your reply and guidance. I'll get around to it.

      Cheers 🍻
      Gheyret

    • gheyretG

      Problem with MessageData plugin

      Cinema 4D SDK
      • 2023 windows python • • gheyret
      5
      0
      Votes
      5
      Posts
      794
      Views

      gheyretG

      Hi @ferdinand

      Thank you so much for your explain, i understand what's happen now.

      Cheers