bdeIsBlockLabelVisible

Gets whether or not the label of block is visible.

Syntax

isVisible = bdeIsBlockLabelVisible(block)

Inputs

block
The block to check visibility of label.
Type: block

Outputs

isVisible
Boolean that tells whether the label of block is visible.
Type: Boolean

Examples

Find whether a block's label is visible (label not visible):

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          isVisible = bdeIsBlockLabelVisible(block)
        

          isVisible = 0
        
Find whether a block's label is visible (label is visible):

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          isVisible = bdeIsBlockLabelVisible(block)
        

          isVisible = 1