Basic Concepts of Parameter Maps
 
 
 

A parameter map may be considered a table of parameter handlers. The parameter map provides the processing required to map the UI controls to the variables these controls affect. The parameter map operates on a of parameters. Each control is one element of the virtual array. Each roll-up page in the command panel is treated as its own virtual array.

For processing parameter blocks, the parameter map manages everything. As a user operates the UI controls of the plug-in, the parameter map processes the messages sent by the controls and stores any values in the parameter block which need to be set.

For processing other variables, the developer needs to provide a way for the parameter map to get and set an element of the virtual array. To do this, the developer assigns an integer index to each parameter. The developer also implements a set of GetValue() and SetValue() methods.

The primary classes involving parameter maps the developer should be aware of: