bdeSaveBlock

Saves block to pathname. block is of type hwscpHyperBlock. Block must be inline. This means the block is not included in the library system.

Syntax

bdeSaveBlock(block, pathname);

Inputs

block
Block to save.
Type: block
pathname
Path to save the block to.
Type: string

Examples

Save a block in a diagram:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(d);
          bdeSaveBlock(block, 'C:\Users\user\testFolder/test.scm');