bdeSetBlockFrameType

Sets the block's frame type. This changes the shape of the block to one of four different options; rectangle, triangle, pentagon, ellipse.

Syntax

bdeSetBlockFrameType(block, shape)

Inputs

block
The block which to set the frame type of.
Type: block
shape
The shape to set the frame of block to. There are four different options: rectangle, triangle, pentagon, ellipse.
Type: string

Examples

Set a block's frame shape:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          bdeSetBlockFrameType(block, 'rectangle');