bdeSetBlockParameterButtonCallback
Sets the callback parameter for the button, buttonName, within block. The callback is ran while the button is shown. Works with inline blocks. Super blocks are inlined blocks.
Syntax
bdeSetBlockParameterButtonCallback(block, buttonName, callback)
Inputs
- block
- The block that the button is in.
- buttonName
- The name of the button parameter.
- callback
- The value to set the button parameter's callback to.
Examples
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
bdeSetBlockParameterButtonCallback(block, 'button1', 'Do this on callback');