GetResourceSymbol() with ToolData



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 20/08/2005 at 06:27, xxxxxxxx wrote:

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

    ---------
    Isn't it possible to use resource files with a ToolData?

    Currently I am using a SubDialog for the interface, but I would realy like to use a resource file.

    I added GetResourceSymbol() to my plugin, and although I had no errors, it didnt use the resource file, im guessing this is a DescriptionToolData method.

    Thanks



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 20/08/2005 at 09:04, xxxxxxxx wrote:

    Yes, take a look at the edgecut SDK tool example. From R9 you can use description for tools (virtually all CINEMA tools now work that way). This also enables the tools to work with the interactive option, if you do not want to use this then hide those control and make sure its set to FALSE (MDATA_INTERACTIVE). You will also need to override the message function to prevent the messages going to the descriptiontool, just send the messages to the ToolData.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 20/08/2005 at 09:09, xxxxxxxx wrote:

    Thank you,

    I wasn't sure if I could hide the interactive options, I was just going to experiment now. Thanks for clarifying this


Log in to reply