bdeAddBlockButtonParameter
Adds buttonParameterName with the value, buttonValue, to the tab sectionName within block. Works with inline blocks. Super blocks are inlined blocks.
Syntax
bdeAddBlockButtonParameter(block, sectionName, buttonParameterName, buttonValue)
Inputs
- block
- The block to add a button parameter to.
- sectionName
- The parameters tab to add the button to.
- buttonParameterName
- The name of the button parameter.
- buttonValue
- The value to set the button parameter to.
Examples
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
bdeAddBlockButtonParameter(block, 'Buttons', 'button1', 'testButton');