bdeSetBlockParameterEditorButtonImage

Sets the buttonImage for a parameter within block. Works only with parameters with the widget editor or uneditor. Works only with inline blocks. Super blocks are inlined blocks.

Syntax

bdeSetBlockParameterEditorButtonImage(block, parameter, buttonImage)

Inputs

block
The block that the parameter is in.
Type: block
parameter
The parameter to set the editor button image.
Type: string
buttonImage
A string to set the parameter's button image to.
Type: string

Examples

Set the button image for a parameter with an editor widget:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          bdeSetBlockParameterEditorButtonImage(block, 'testParam', 'glyphPlotSplineStrip');