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.
- textParameter
- The name of the text parameter.
- paramValue
- A string to set the text parameter to.
Examples
Set the value of a text parameter in a block:
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
bdeSetBlockParameterTextValue(block, 'testingText', 'This is for testing');