bdeGetBlockParameterEnable
Returns whether or not a parameter of a given block is enabled.
Syntax
enabled = bdeGetBlockParameterEnable(block, parameter)
Inputs
- block
- The block to that the parameter is in.
- parameter
- The parameter to check the whether it is enabled or not.
Outputs
- enabled
- String that represents whether or not the parameter is enabled. 1 for enabled and 0 for not enabled.
Examples
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
enabled = bdeGetBlockParameterEnable(block, 'gain');
enabled = 1