bdeCheckBlockInlined

Returns whether or not a given block is inlined. Inline blocks are blocks that are not included in the library system.

Syntax

inlined = bdeCheckBlockInlined(block)

Inputs

block
The block that is checked to see if it is inlined.
Type: block

Outputs

inlined
Boolean representing whether or not the block is inlined. 1 for inlined, 0 for not inlined.
Type: Boolean

Examples

Check if a block is inlined (Using a user created super block):

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          inlined = bdeCheckBlockInlined(block);
        

          
            inlined = 1
          
        
Check if a block is inlined (Using a reference block):

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          inlined = bdeCheckBlockInlined(block);
        

          
            inlined = 0