Hi,
I’m writing a ToolData plugin with the C++ SDK.
I see that GetDDescription() is automatically called when:
the tool is first activated (before InitTool()),the user interacts with the Attribute Manager (e.g. clicks on a choice control),and when parameters change.
That works fine.
But I also need to refresh the Attribute Manager description when my tool state changes during runtime (for example inside MouseInput(), or after some internal state update).
I tried calling : EventAdd(EVENT_FORCEREDRAW);
…but this does not cause GetDDescription() to be called again for my tool.
So my questions are:
What is the correct way to force GetDDescription() to run again for a ToolData plugin?
Is there a specific event or API call I should use to tell the Attribute Manager to rebuild the description?
Any best practices for dynamically updating tool descriptions at runtime?
Thanks!