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

    general string definitions

    Scheduled Pinned Locked Moved SDK Help
    10 Posts 0 Posters 871 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 06/05/2010 at 11:10, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   r11 
      Platform:      
      Language(s) :     C++  ;

      ---------
      hi there,

      can i somehow define strings that are available for different plugins? where do i need to include those?

      thanks and cheers,
      ello

      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 06/05/2010 at 13:11, xxxxxxxx wrote:

        Hello,
        if i understand you have to create a string in a plugin and then you have to read it for another ?
        if yes.... try to store string in first plugin basecontainer and read it for the other... but this is not the only way.
        all the best
        franz

        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 06/05/2010 at 13:37, xxxxxxxx wrote:

          no, sorry, i guess i was a bit unclear. what i am searching for is a way to reuse string definitions for my descriptions. for example i have a group called GENERALSETTINGS and i have defined it like GENERALSETTINGS "general settings";

          now i'd like to use this string in more than one res-file.

          cheers,
          ello

          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 07/05/2010 at 00:43, xxxxxxxx wrote:

            Well, as long as we're talking about a single plugin package, c4d_string.str and c4d_symbols.h are the places to define and declare it. Don't know about dialogs though, but for descriptions it should be fine.

            Hope it helps

            Kabe

            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 07/05/2010 at 01:42, xxxxxxxx wrote:

              thanks for your input

              is c4d_string.str loaded automatically? since i tried placing the definition there and it didnt work. i tried it for a string which is used as a NAME for a GROUP..

              cheers,
              ello

              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 07/05/2010 at 10:55, xxxxxxxx wrote:

                Where do you place this group?

                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 07/05/2010 at 11:09, xxxxxxxx wrote:

                  it is just a usual res file, like:

                    
                    GROUP  
                    {  
                        NAME SETTINGS;  
                        ...  
                  }  
                    
                  
                  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 10/05/2010 at 01:49, xxxxxxxx wrote:

                    *.res file for a dialog? Or a description?

                    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 10/05/2010 at 02:05, xxxxxxxx wrote:

                      for a description

                      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 12/05/2010 at 01:10, xxxxxxxx wrote:

                        Strings always need an ID and the actual string. In your case the ID goes into the c4d_symbols.h file and the string into the c4d_strings.str file. You can then load the string with GeLoadString(MY_STRING_ID).

                        cheers,
                        Matthias

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