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.
- shape
- The shape to set the frame of block to. There are four different options: rectangle, triangle, pentagon, ellipse.
Examples
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
bdeSetBlockFrameType(block, 'rectangle');