bdeGetBlockParameterValidValues
Returns a list of the valid values you can use for a specific parameter within block.
Syntax
validValues = bdeGetBlockParameterValidValues(block, parameter)
Inputs
- block
- The block to get the parameter valid values from.
- parameter
- The parameter to get the possible valid values of.
Outputs
- validVals
- A list that contains the different valid values for the given parameter in block.
Examples
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
validVals = bdeGetBlockParameterValidValues(block, 'overflow');
validVals =
{
[1,1] 'Nothing'
[2,1] 'Saturate'
[3,1] 'Error'
}