bdeSetBlockParameterDimension

Sets the dimension for a parameter within block. Used for parameters with the type of matrix. Works with inline blocks. Super blocks are inlined blocks.

Syntax

bdeSetBlockParameterDimension(block, parameter, dimension)

Inputs

block
The block that the parameter is in.
Type: block
parameter
The parameter to set the dimension for.
Type: string
dimension
The dimension of the parameter.
Type: string

Examples

Set the dimensions for a parameter:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          bdeSetBlockParameterDimension(block, 'testParam', '[2, 1]');