Testing CustomBlocks
At any time, you can test a CustomBlock definition without exiting the Block Editor.
The CBTestBlock command displays the current Block definition in a test window.
You can make changes to the CustomBlock definition and test the effect without saving the CustomBlock definition.
The test window closes automatically when you close the Block Editor. Alternatively, use the CBTestClose command to close only the test window.
It is recommended to test the CustomBlock after each modification to prevent errors.
To test a CustomBlock:
- In the Block Editor, type CBTestBlock at the command prompt.
The corresponding Block reference appears in a test window.
- In the test window, select the CustomBlock reference and do the following:
- Test the grip points
- Test the CustomBlock behavior when changing the properties in the Properties palette
- Create additional copies
To close the test window:
- Type CBTestClose at the command prompt.
Command: CBTestBlock