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

    TexBox CustomGUI for Python?

    Cinema 4D SDK
    4
    13
    1.9k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • indexofrefractionI
      indexofrefraction
      last edited by

      Hi, i would like to select shaders,
      exactly like it is done in the Material Manager

      I think this is done with TexBox CustomGUI,
      but this is not available in the Python SDK 😕

      Are there plans to allow this in the (near) Future?

      best, index

      1 Reply Last reply Reply Quote 0
      • M
        m_adam
        last edited by

        Hi @indexofrefraction, unfortunately, TexBox is still not supported in Python.
        As you can see in this topic from the old forum https://developers.maxon.net/forum/topic/9959/13411_shaderlink--texbox-in-gedialog-/

        With that's said I will raise the priority of this class on our todo list. 😉 But so far I can't promise you anything.

        Cheers,
        Maxime.

        1 Reply Last reply Reply Quote 0
        • indexofrefractionI
          indexofrefraction
          last edited by

          thanks Maxime,

          i hope the priority raise helps 😉

          i want to do a material editor plugin,
          and it is impossible without TexBox support

          1 Reply Last reply Reply Quote 0
          • indexofrefractionI
            indexofrefraction
            last edited by

            Sigh... still no TexBox support in R21... 😖

            Is this still on your todo list?

            1 Reply Last reply Reply Quote 0
            • M
              m_adam
              last edited by

              @indexofrefraction Sorry, and yes still on my todo list.

              Anyway thanks for rising again the topic.
              Cheers,
              Maxime.

              1 Reply Last reply Reply Quote 0
              • indexofrefractionI
                indexofrefraction
                last edited by indexofrefraction

                3 years later ... the priority raise didn't help 😐
                without this it is impossible to create any kind "material editor" in python
                it would be really nice if this could added somewhen !

                1 Reply Last reply Reply Quote 0
                • M
                  m_adam
                  last edited by m_adam

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • indexofrefractionI
                    indexofrefraction
                    last edited by

                    " This post is deleted! " .. ?
                    .-) hope it comes some day ...

                    1 Reply Last reply Reply Quote 0
                    • M
                      m_adam
                      last edited by m_adam

                      Hi @indexofrefraction, sorry, I had a look at it and this is unfortunately not possible to add a CUSTOMGUI_TEXBOX in a GeDialog.

                      Technically this is possible and you will be able to use it as a Link field. However, the creation of shader will not work since it requires a Description to work and you can't have a Description object in a GeDialog.

                      This was the original post I wrote, but while writing it I had an idea to maybe make it work, it will be a bit clunky but I need to find time to implement and experiment it. But please don't get wrong expectation, due to the fact that this is not something that work out of the box, I'm not sure we will consider my workaround good enough to release it and we may prefer to decide to not release it. And I'm not 100% sure that my workaround will work, so I need to try first. But this is a very very low priority thing so this is the current status.

                      Cheers,
                      Maxime.

                      1 Reply Last reply Reply Quote 0
                      • indexofrefractionI
                        indexofrefraction
                        last edited by

                        @m_adam :
                        Still thanks for looking into this. I didn't expect this to be so complicated, but obviously it is.
                        I hope your idea works out !

                        1 Reply Last reply Reply Quote 0
                        • M
                          m_adam
                          last edited by

                          Hello @indexofrefraction ,

                          without further questions or postings, we will consider this topic as solved by Wednesday 31/05/2023 and flag it accordingly.

                          Thank you for your understanding,
                          Maxime.

                          1 Reply Last reply Reply Quote 0
                          • R
                            randymills
                            last edited by randymills

                            Was there any further investigation into this topic? We are trying to add a drag and drop field to our python dialog for textures from image assets in the asset browser...I can make a separate post, but scouring the forum first for relevant articles.

                            1 Reply Last reply Reply Quote 0
                            • ferdinandF
                              ferdinand
                              last edited by

                              Yes, please create a new thread. And, no, TexBoxCustomGui has not been ported to Python. You might also want to look at this thread.

                              Cheers,
                              Ferdinand

                              MAXON SDK Specialist
                              developers.maxon.net

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post