bdeSetBlockParameterTextValue

Sets the paramValue for a textParameter in block. Works only with inline blocks. Super blocks are inlined blocks.

Syntax

bdeSetBlockParameterTextValue(block, textParameter, paramValue)

Inputs

block
The block that the text parameter is in.
Type: block
textParameter
The name of the text parameter.
Type: string
paramValue
A string to set the text parameter to.
Type: string

Examples

Set the value of a text parameter in a block:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          bdeSetBlockParameterTextValue(block, 'testingText', 'This is for testing');