RegisterDescription for ToolData plugins



  • On 22/10/2015 at 08:48, xxxxxxxx wrote:

    C4D R17 - Python <<<<

    Hallo,

    is it possible to register a decription for a ToolData plugin? It should display some settings when the user activates the tool, but it can't make it work.

    So far i have created resource definition files (*.res, *.h in .\res\resource and *.str in \res\strings_us\description).

    After that i call c4d.plugins.RegisterDescription() and c4d.plugins.RegisterToolPlugin() with the same plugin ID and the description name.

    The plugin gets instanciated and i can click around and receive messages etc. but the description is not displayed in the Attribute Manager, despite RegisterDescription() returning true.

    Do i miss anything, or is there another way to do this?

    Thanks, Heinrich.



  • On 22/10/2015 at 09:09, xxxxxxxx wrote:

    I found it myself, like described here:
    https://plugincafe.maxon.net/topic/9106/12087_dynamic-gui-for-objectplugin&KW=ToolData&PID=47900#47900

    c4d.plugins.ToolData.AllocSubDialog() works just fine for my needs.


Log in to reply