bdeGetBlockFrameCornerRadius

Gets the frame corner radius of block. The only blocks that have a corner radius are of frame shape pentagon.

Syntax

cornerRadius = bdeGetBlockFrameCornerRadius(block)

Inputs

block
The block to get the frame corner radius of.
Type: block

Outputs

cornerRadius
The radius of the corners of block.
Type: double

Examples

Get the frame corner radius of block:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          cornerRadius = bdeGetBlockFrameCornerRadius(block);
        

          
            cornerRadius = 0