bdeDisableTextIconRotation

Disables the text icon iconName within block from being rotated.

Syntax

bdeDisableTextIconRotation(block, iconName)

Inputs

block
The block of which a text icon iconName is in.
Type: block
iconName
The name of the text icon to disable rotating.
Type: string

Examples

Disable a text icon to rotate:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          bdeDisableTextIconRotation(block, 'text2');