bdeAddBlockParameter
Adds a parameter to a given block.
Syntax
bdeAddBlockParameter(block, sectionName, parameterName, parameterValue)
Inputs
- block
- The block to add a parameter to.
- sectionName
- The name of the section to add the parameter to.
- parameter
- The name of the parameter that will be added to the section.
- parameterValue
- The value of the parameter that is being added.
Examples
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
bdeGetBlockParameter(block, 'Parameters', 'testParameter', 'testValue');