bdeSetBlockParameterButtonEnable
Sets the enabled flag for the button, buttonName, within block. Works with inline blocks. Super blocks are inlined blocks.
Syntax
bdeSetBlockParameterButtonEnable(block, buttonName, isEnable)
Inputs
- block
- The block that the button parameter is in.
- buttonName
- The name of the button parameter.
- isEnable
- The value to set the button parameter's enabled flag to. Can use a string or boolean. For boolean, true for enabled and false for not enabled.
Examples
Set a button's enabled flag:
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
bdeSetBlockParameterButtonEnable(block, 'button1', true);