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.
Outputs
- cornerRadius
- The radius of the corners of block.
Examples
Get the frame corner radius of block:
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
cornerRadius = bdeGetBlockFrameCornerRadius(block);
cornerRadius = 0