bdeSetBlockParametersPostCallback
Sets the script for post callback for a block, which will happen after pressing ok on the 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 after pressing ok on a dialog box.
Examples
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
bdeSetBlockParametersPostCallback(block, 'iconnames = bdeGetBlockTextIconNames;');