Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python 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
    • Recent
    • Tags
    • Users
    • Login

    Accessing Custom Elements

    Scheduled Pinned Locked Moved SDK Help
    7 Posts 0 Posters 478 Views
    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.
    • H Offline
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 16/03/2009 at 14:05, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   10.5 
      Platform:   Windows  ;   
      Language(s) :   C.O.F.F.E.E  ;

      ---------
      Hi guys,

      I really got stuck, maybe you can help me out.
      In ResEdit, I created a Custom Element(TEXTURNAME [1000484]).
      Now, how can I access its Container or at least the Properties like the image, the user has chosen? I read the SDK Docu up and down and vice versa, even the customgui_texturename.h did not give any usable info, as well as this forum.

      What I want to do is, let the User choose a Bitmap and pass this relative path to a variable.

      Best Regards, Robert...

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 17/03/2009 at 08:41, xxxxxxxx wrote:

        Appendix:

        Based on the CPP SDK Docs, I found some useful Info, but it's still not enough. I really wish, there would be more examples for particular Elements, especially for Custom-Elements.
        Maybe, it's just a simple mistake, but the println never puits something out...

        > \> var filedata = new(BaseContainer); \> filedata->GetData(IDC_COLORMAP); \> var texstr = filedata->GetString(CUSTOMGUI_TEXTURENAME); \> println(texstr); // always nothing? \>

        greetings, Robert

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 17/03/2009 at 08:46, xxxxxxxx wrote:

          You can't access custom GUI elements in COFFEE. For some there exist workarounds, but in general not.

          cheers,
          Matthias

          1 Reply Last reply Reply Quote 0
          • H Offline
            Helper
            last edited by

            THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

            On 17/03/2009 at 08:58, xxxxxxxx wrote:

            Oh, thanks.

            But could you eventually point me to a workaround then?
            Would be very kind 😉

            1 Reply Last reply Reply Quote 0
            • H Offline
              Helper
              last edited by

              THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

              On 17/03/2009 at 09:02, xxxxxxxx wrote:

              In dialogs you can't access custom GUI elements in general. An exception is the link field which receives a drag message if you drag something into into it. See following thread:

              Question to LinkBox

              cheers,
              Matthias

              1 Reply Last reply Reply Quote 0
              • H Offline
                Helper
                last edited by

                THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                On 17/03/2009 at 09:05, xxxxxxxx wrote:

                Also you can access some parts of custom description elements. But this depends on the internal datatype structure of the elements.

                cheers,
                Matthias.

                1 Reply Last reply Reply Quote 0
                • H Offline
                  Helper
                  last edited by

                  THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                  On 17/03/2009 at 09:11, xxxxxxxx wrote:

                  Hey, that really helped me out.
                  Thanks Matthias...
                  🙂

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