bdeAddBlockTextParameter
Adds a text parameter for block. Works only with inline blocks. Super blocks are inlined blocks.
Syntax
bdeAddBlockTextParameter(block, sectionName, paramName, paramValue)
Inputs
- block
- The block to add a text parameter to.
- sectionName
- The name of the section to add the text parameter to.
- paramName
- The name of the text parameter.
- paramValue
- A string to set the text parameter to.
Examples
Add a text parameter to a block:
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
bdeAddBlockTextParameter(block, 'TextParameters', 'testingText', 'This is for testing');