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.
- buttonParameterName
- The name of the button parameter.
- buttonValue
- The value to set the button parameter to.
Examples
Set the value of a button parameter in a block:
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
bdeSetBlockParameterButtonValue(block, 'button1', 'testingButton');