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
    • Recent
    • Tags
    • Users
    • Login

    RegisterDescription for ToolData plugins

    Scheduled Pinned Locked Moved PYTHON Development
    2 Posts 0 Posters 192 Views
    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 Offline
      Helper
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

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

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

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

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