texturenamecustomgui...

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...

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;  
    }

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!