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.
Type: block
parameter
The parameter to get the unit of.
Type: string

Outputs

unit
The unit of the given parameter.
Type: string

Examples

Get a parameter's unit:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          unit = bdeGetBlockParameterUnit(block, 'overflow');
        

          
            unit = 1