bdeGetBlockParameterUnit
Returns the unit of a parameter in a given block.
Syntax
unit = bdeGetBlockParameterUnit(block, parameter)
Inputs
- block
- The block that the parameter is in.
- parameter
- The parameter to get the unit of.
Outputs
- unit
- The unit of the given parameter.
Examples
Get a parameter's unit:
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
unit = bdeGetBlockParameterUnit(block, 'overflow');
unit = 1