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

    texturenamecustomgui...

    SDK Help
    0
    3
    364
    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 03/06/2003 at 17:36, xxxxxxxx wrote:

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

      ---------
      Hi,
      I have a commandplugin with a dialog and need to retrieve the string of a texturename customgui field I have added.
      The example in the SDK doesn´t really help me. Using msg.GetString(id) does always return NULL and GetString(id,text) doesn´t work either. I am trying to get in the command method...
      Anybody knows how it works?
      Thanks...

      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 07/06/2003 at 07:55, xxxxxxxx wrote:

        Not every CustomGui supported the GetData() command (fixed for next version). Until then you can use the following:

            
            
            // in Command()  
            switch (id)  
            {  
              case MY_TEXTURENAME_ID: String mystring = msg.GetString(BFM_ACTION_VALUE);  
              break;  
            }
        
        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 07/06/2003 at 08:38, xxxxxxxx wrote:

          Thanks, will try that one!

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