bdeSetBlockFrameCornerRadius

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

Syntax

bdeSetBlockFrameCornerRadius(block, radius)

Inputs

block
The block which to set the frame corner radius of.
Type: block
radius
The value to set the frame corner radius of block to.
Type: double

Examples

Set a block's frame corner radius:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          bdeSetBlockFrameCornerRadius(block, 2);