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
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Send own custom messages & change icon

    SDK Help
    0
    9
    863
    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
      Helper
      last edited by

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

      On 24/05/2004 at 22:14, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   8.500 
      Platform:   Windows  ;   
      Language(s) :

      ---------
      Hi.

      1. Question: how i can send own custom messages? Is a unique ID for such own message needed?

      2. Question: how i can change the icon of a tag 'on the fly'? (like icon of the instance object).

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

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

        On 25/05/2004 at 17:44, xxxxxxxx wrote:

        (Assuming C++.)
        1. You can use SpecialEventAdd() with a unique plugin ID to send CoreMessage(), or simply Message() with a unique ID to send normal Atom messages.
        2. I don't think it's possible, since the icon is shared between all instances of the tag. (Btw, does the instance object icon ever change? It didn't seem to when I tested it.)

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

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

          On 25/05/2004 at 22:10, xxxxxxxx wrote:

          Hi.
          Instance object change own icon, if no master object assigned.

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

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

            On 27/05/2004 at 05:18, xxxxxxxx wrote:

            Ok, that's right. Unfortunately, according to the programmers, this isn't possible for plugin objects (or tags).

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

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

              On 13/02/2007 at 12:32, xxxxxxxx wrote:

              Well change icon was not possible with C4D 8.5 SDK but is it possible with SDK 9.6 or 10.0 ???

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

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

                On 13/02/2007 at 13:07, xxxxxxxx wrote:

                MSG_GETCUSTOMICON 😉 R10 only

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

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

                  On 16/02/2007 at 05:50, xxxxxxxx wrote:

                  Thanks !!!
                  One question more, how it used in TagData::Message()?
                  For me it is not working...

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

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

                    On 16/02/2007 at 05:58, xxxxxxxx wrote:

                    Hmm, I don´t know actually. I haven´t tried it yet. 🙂 Spontaneously it should simply work like so:

                    GetCustomIconData* gcid = static_cast<GetCustomIconData*>(data);
                    if(gcid && bmp)
                    {
                    bmp->CopyTo(gcid->dat->bmp); //Or fill it otherwise
                    gcid->filled = TRUE;
                    return TRUE;
                    }

                    If it doesn´t I cannot say why. 😕

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

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

                      On 16/02/2007 at 06:02, xxxxxxxx wrote:

                      I just read that you can also directly assign your own bitmap when it´s not yet set up.

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