bdeSetBlockParameterButtonValue

Sets a buttonValue for a button, buttonParameterName, within block. Works with inline blocks. Super blocks are inlined blocks.

Syntax

bdeSetBlockParameterButtonValue(block, buttonParameterName, buttonValue)

Inputs

block
The block that the button parameter is in.
Type: block
buttonParameterName
The name of the button parameter.
Type: string
buttonValue
The value to set the button parameter to.
Type: string

Examples

Set the value of a button parameter in a block:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          bdeSetBlockParameterButtonValue(block, 'button1', 'testingButton');