version 2003
PA_SetVariableParameter (params; index; variable; clearOldValue)
Parameter | Type | Description | |
params | PA_PluginParameters | Parameters received in PluginMain | |
index | short | Index of the parameter in params | |
variable | PA_Variable | New value of the variable parameter | |
clearOldValue | char | Dispose of previous data |
Description
The routine PA_SetVariableParameter sets the value of the index parameter in params to variable.
Pass a PA_Variable in variable.
Set clearOldValue to 1 when creating the new 4D variable using PA_CreateVariable. In this case, you must dispose of the previous 4D variable content.
This routine is primarily used for arrays.
See Create a new plugin for a description of parameter accessors.
NOTE:
The first parameter starts at index 1
See Also
Error Handling
None.