Showing Tools-flavor Attribute Manager



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

    On 14/02/2006 at 17:05, xxxxxxxx wrote:

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

    ---------
    Hi folks,
    I'm exercising the new TurnTool release candidate plugin and its basically an export plugin that outputs a C4D scene into its own format for web-viewing.  When I click on the plugin entry in the plugins menu, any open Attribute Manager that is configured for Tools will show the TurnTool plugin's settings.  But if there is no open Attribute Manager for Tools, or if there is but it is not the front tab in a group, nothing appears to happen.
    How can they make it so it acts like the native C4D tool settings?  By that, I mean like what happens if you double-click the selection arrow tool buttons or one of the pan/zoom/rotate tool buttons.  In those cases, one of the following will occur:
    If there is a Attribute Manager in the layout, it will come to the front, as needed, and will display the tool settings.  If not, then a new Attribute Manager will open to display the tool settings.
    Is there some API call that can be made or some setting that can be coded to get the attention of the Attribute Manager for Tools when this plugin is clicked in the plugins menu?



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

    On 17/02/2006 at 09:25, xxxxxxxx wrote:

    You will probably find the plugin is using the CUSTOMGUI_DESCRIPTION gadget.

    Just like in the ActiveObject.cpp example code



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

    On 17/02/2006 at 11:00, xxxxxxxx wrote:

    Thanks for the reply.
    If that is the case, is there a way to have the CUSTOMGUI_DESCRIPTION gadget act like the built-in tools in the manner that they cause a Tools-flavor Atribute Manager to show up when needed?



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

    On 22/02/2006 at 11:54, xxxxxxxx wrote:

    Yes, ActiveObjectManager_SetMode(ACTIVEOBJECTMODE_TOOL, TRUE) in lib_activeobjectmanager.h.



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

    On 22/02/2006 at 12:38, xxxxxxxx wrote:

    Thank you very much, Mikael.


Log in to reply