bdeSetBlockParametersPreCallback
Sets the script for pre callback for a block, which will happen before showing the parameters dialog box. Works with inline blocks. Super blocks are inlined blocks.
Syntax
bdeSetBlockParametersPostCallback(block, script)
Inputs
- block
- The block to add a script for.
- script
- The script to run before showing a dialog box.
Examples
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
bdeSetBlockParametersPreCallback(block, 'functionToDoBeforeDialogBoxOpens();');