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.
- buttonParameter
- The button parameter to get the value of.
Outputs
- buttonVal
- The value of the button parameter.
Examples
Get a button's value:
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
buttonVal = bdeGetBlockParameterButtonValue(block, 'button1');
buttonVal = testButton