bdeSetBlockParameterType

Sets the paramType for a parameter within block. Works with inline blocks. Super blocks are inlined blocks.

Syntax

bdeSetBlockParameterType(block, parameter)

Inputs

block
The block that the parameter is in.
Type: block
parameter
The parameter is having it's type set.
Type: string
paramType
The type to set for the parameter. Some examples include: scalar, matrix, string, number.
Type: string

Examples

Set the type of a parameter:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          bdeSetBlockParameterType(block, 'testParam', 'scalar');