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

    Content Browser and StrNotFound

    Cinema 4D SDK
    r23 python
    2
    4
    466
    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.
    • P
      pim
      last edited by pim

      I installed (R23) our plugin (MeshBoolean), but now the File entry of the Content Browser gives a "StrNotFound".
      In R20 it was ok.
      The console shows no warnings or errors.
      Choosing another layout or another Node Space does not help.

      9496d9cc-84ed-46ef-871f-29ea12832bd6-image.png

      But you can still select the 'File' option.
      4282e253-76a7-4314-84ff-6fe844000b44-image.png

      1 Reply Last reply Reply Quote 0
      • ManuelM
        Manuel
        last edited by

        hi,

        Hard to say without more informations.
        this menu entry is using the Symbol BROWSER_FILE_MENU define inside the file : resource\modules\browser\c4d_symbols.h and the str file in resource\modules\browser\strings_en-US\c4d_strings.str
        the id should be 10002.

        Did you tried to run c4d with the console open to see if there's any error message ?

        Cheers,
        Manuel

        MAXON SDK Specialist

        MAXON Registered Developer

        1 Reply Last reply Reply Quote 0
        • P
          pim
          last edited by

          Ok, I found out that the issue is in "c4d_symbols.h"
          There I defined FILE = 1010011.
          After removing the FILE definition, it was ok again.
          Setting FILE = 10002 did not solve the issue.

          So removing it and defining FLE somewhere else, will be ok.

          enum
          {
          ResBasedMenu =  101001,
          MY_CHECKBOX  =  101002,
          CURR_SIZE_STR = 101003,
          NEW_X =         101004,
          NEW_Y =         101005,
          NEW_Z =         101006,
          MY_TEXTBOX =    101007,
          BUTTON_CANCEL = 101008,
          BUTTON_OK =     101009,
          BUTTON_RESET =  1010010,
          // FILE =          1010011,
          // FILE =          10002,
          MYBITMAPBUTTON =1010012,
          IDC_CUSTOM1 = 1010013,
          }
          
          1 Reply Last reply Reply Quote 0
          • ManuelM
            Manuel
            last edited by

            hi,

            i was saying not to use the same ID (in case of conflict)

            But it seems that there's no conflict neither with the symbol name or the symbol ID.
            A bit strange.

            Cheers,
            Manuel

            MAXON SDK Specialist

            MAXON Registered Developer

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