bdeSetBlockParameterColumnDefaultValue
Sets a buttonValue for a button, buttonParameterName, within block. Works with inline blocks. Super blocks are inlined blocks.
Syntax
bdeSetBlockParameterColumnDefaultValue(block, parameter, subparameter, value)
Inputs
- block
- The block that the parameter is in.
- parameter
- The name of the parameter that the subparameter is in.
- subparameter
- The name of the subparameter to change the value of.
- value
- The value to set the value of the subparameter to.
Examples
Set the value of a subparameter in a block:
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
bdeSetBlockParameterButtonValue(block, 'parameter1', 'subParameter', 'newSubparameterValue');