bdeGetBlockParametersPreCallback

Returns the script to call for a given block before showing the parameters dialog.

Syntax

preCallback = bdeGetBlockParametersPreCallback(block)

Inputs

block
The block to get the pre callback of.
Type: block

Outputs

preCallback
The script to call before showing a dialog box.
Type: string

Examples

Get a block's precallback:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          preCallback = bdeGetBlockParametersPreCallback(block);
        

          
            preCallback = functionToCallBeforeDialog();