bdeIsBlockParameterEnabled
Returns whether or not a parameter of a given block is enabled.
Syntax
enabled = bdeIsBlockParameterEnabled(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
 - Boolean that represents whether or not the parameter is enabled. 1 for enabled and 0 for not enabled.
 
Examples
          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          enabled = bdeIsBlockParameterEnabled(block, 'gain');
        
        
          
            enabled = 1