bdeAddBlockSubParameter
Adds a sub parameter to a parameter in a given block. Works only with parameters that have a widget of the type table or combobox. Works only with inline blocks. Super blocks are inlined blocks.
Syntax
bdeAddBlockSubParameter(block, parameter, colName, value, validValues)
bdeAddBlockSubParameter(block, parameter, colName, value)
Inputs
- block
 - The block that the parameter is in.
 - parameter
 - The parameter to add a sub parameter to.
 - colName
 - The name of the sub parameter that is being added.
 - value
 - If the type of widget is a table then this is the value that the subparameter is set to. If the widget is a combobox then the first element of the valid values will be the value that is set.
 - validValues
 - A list of valid values for the sub parameter. Only need valid values for the widget combobox. Widgets that are of the type table do not need valid values.
 
Examples
          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          bdeAddBlockSubParameter(block, 'parameter1', 'subParameterColumn1', 'subParameterColValue');
        
      
          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          bdeAddBlockSubParameter(block, 'parameter2', 'subParameter1', '1', {'1', '2'});