bdeGetBlockParameterButtonValue

Returns the value of a buttonParameter in a given block.

Syntax

buttonVal = bdeGetBlockParameterButtonValue(block, buttonParameter)

Inputs

block
The block that the parameter is in.
Type: block
buttonParameter
The button parameter to get the value of.
Type: string

Outputs

buttonVal
The value of the button parameter.
Type: string

Examples

Get a button's value:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          buttonVal = bdeGetBlockParameterButtonValue(block, 'button1');
        

          
            buttonVal = testButton