bdeGetBlockStatus

Returns the value of the property 'status' of a given block.

Syntax

status = bdeGetBlockStatus(block)

Inputs

block
The block to get the status of.
Type: block

Outputs

status
The status of the block. Potential return values include on, off, and bypass.
Type: string

Examples

Check if block in an inlinable block:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          status = bdeGetBlockStatus(block);
        

          
            status = on