bdeSetBlockParameterUnit
Sets a unit for a parameter within block.
Syntax
bdeSetBlockParameterUnit(block, parameter, unit)
Inputs
- block
- The block that the parameter is in.
- parameter
- The parameter to set the unit of.
- unit
- The value used to set the unit of a parameter.
Examples
Set a unit for a parameter:
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
bdeSetBlockParameterUnit(block, 'testParam', 1);