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. Ling
    3. Topics
    L
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 15
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by Ling

    • L

      can I have a callback when I close the c4d?

      Cinema 4D SDK
      • • • Ling
      8
      0
      Votes
      8
      Posts
      1.2k
      Views

      kbarK

      You should definitely be using the built in language system that C4D has. You have string files in your resource folder. One for each language that you want to support. Then C4D handles all this for you and will use the appropriate string file depending what language C4D is set to use (which you change via the preferences->Interface section). This is what @ferdinand posted already above, I just wanted to re-iterate this.

    • L

      update background color of bitmap button and static text

      Cinema 4D SDK
      • • • Ling
      2
      0
      Votes
      2
      Posts
      398
      Views

      ManuelM

      Hi,

      it's not possible to change the backgrounds of those gadgets. For the button, you can instead add a BitmapButton and change the image to display the color you want just like in this thread

      Cheers,
      Manuel

    • L

      interactions between two or more plugins which are in a single Python file

      Cinema 4D SDK
      • python • • Ling
      8
      0
      Votes
      8
      Posts
      1.1k
      Views

      ManuelM

      Hi,

      I'm happy that you solved your issue.
      For your next post, and i know you can see that as a waste of time, please follow our guidelines. Use the functionalities of the forum to mark your thread as a question, and mark it as solved when it's done. (Even for a negative answer).

      Please use also tags, that help us to understand and answer faster without guessing. Language you are using (python, c++) cinema4D version, everything that can help us to understand your issue.

      You will also find on those guidelines how to explain your issue. Sometimes people want a solution for an issue creating by a bad workflow.

      In your case, it looks more like sharing information between plugins. There are several answers/possibilities for that.

      This forum is also about stepping back, having a fresh eye on your issue and move forward 🙂

      Cheers,
      Manuel

    • L

      How to Highlight a Button

      Cinema 4D SDK
      • python • • Ling
      2
      0
      Votes
      2
      Posts
      482
      Views

      ferdinandF

      Hello @Ling,

      thank you for reaching out to us. Please remember to open a new topic of you own when you have a question and not to hijack other topics. The exception to that rule is when you have a question that aligns exactly with a currently ongoing topic. The reason we enforce this, is so that the form remains a nicely searchable knowledge base. I have forked your question for that very reason; it did not align with the other topic.

      About your question: It depends on what you mean by it. You cannot modify the background color of a Button element. What you can do, is create a LONG element and define QUICKTABRADIO as its custom GUI; here is how the muscle object in Cinema makes use of this GUI element:

      LONG ID_CA_MUSCLE_OBJECT_STATE { SCALE_H; ANIM OFF; PARENTCOLLAPSE; CUSTOMGUI QUICKTABRADIO; CYCLE { ID_CA_MUSCLE_OBJECT_STATE_RELAX; ID_CA_MUSCLE_OBJECT_STATE_COMPRESSED; ID_CA_MUSCLE_OBJECT_STATE_EXTENDED; } }

      This will give you the tabs look as shown in many places in Cinema 4D. You will however need multiple elements to make this useful, as this is effectively an options group. What you could also do, is create a BITMAPBUTTON and then have different images for its normal and pressed stated.

      Cheers,
      Ferdinand

    • L

      how can I make popup like snap popup

      Cinema 4D SDK
      • • • Ling
      6
      0
      Votes
      6
      Posts
      803
      Views

      L

      @m_adam I know the PLUGINFLAG_COMMAND_STICKY, but i do not know how can I judge the key down and key up in execute() called back function of the command data. Do you know a way to do this?
      Thanks!