The routine also checks to see if any Blocks in the drawing are coloured ByBlock. If this is the case, it is likely that they used to be nested Blocks in a Block that has been exploded. Having a Block coloured ByBlock serves no purpose, so for that reason, they are changed to colour ByLayer.

Version History

1.12 - 30/03/17: Minor fix to reporting1.11 - 14/07/16: Added resetting colour of Deleted Blocks1.10 - 29/06/16: Adjusted to suit client specific requirements1.09 - 21/06/16: Revised to separate specification versions from Block versions. Layer states are now saved when the routine starts, then restored when it completes.1.08 - 17/06/16: Updated storing and restoring of AutoCAD variables1.07 - 14/06/16: Specific Block colours are now restored1.06 - 20/05/16: Timer and additional reporting added1.05 - 12/05/16: Revised to only work with Blocks in the current space (i.e. paper space / model space). Added setting of FILLMODE to 11.04 - 06/05/16: Timer added and code optimised to speed up routine with large drawings1.03 - 14/04/16: Now resetting of Blocks that have been coloured to indicate Under Review 1.02 - 18/03/16: Added a check for any Blocks in the drawing that are colour ByBlock, i.e. they were nested Blocks, to change them to ByLayer1.01 - 04/03/16: Reduced reporting1.00 - 26/01/16: Initial version.