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.
Type: block
parameter
The name of the parameter that the subparameter is in.
Type: string
subparameter
The name of the subparameter to change the value of.
Type: string
value
The value to set the value of the subparameter to.
Type: string

Examples

Set the value of a subparameter in a block:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          bdeSetBlockParameterButtonValue(block, 'parameter1', 'subParameter', 'newSubparameterValue');