GUI and User Interaction


A plugin can create custom dialog windows with custom gadgets. These dialogs can be used to enable user interaction in various situations or to create new managers.

File selection dialogs are handled with the Filename class, see Filename Manual. Functions to open default message and question dialogs are defined in c4d_gui.h.

Parameters of NodeData based plugins are displayed in the Attribute Manager. They are stored in a so-called parameter description.

CommandData based commands implement simple actions and can be invoked programmatically:

The interactive viewport displays the currently active scene. By implementing a "Draw" function it is possible to draw in this viewport to add custom visualisations: