bdeGetBlockParameterColumnDefaultValue

Returns the value of the subparameter column in a given block. This only works with parameters of the type table.

Syntax

defaultVal = bdeGetBlockParameterColumnDefaultValue(block, parameter, column)

Inputs

block
The block that the parameter is in.
Type: block
parameter
The name of the parameter that the subparameter column is in.
Type: string
column
The name of the subparameter to get the default value of.
Type: string

Outputs

defaultVal
The value of the subparameter column.
Type: string

Examples

Get the value of a subparameter in a block:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          defaultVal = bdeGetBlockParameterColumnDefaultValue(block, 'parameter1', 'subParamColumn');
        

          
            defaultVal = testSubParameter