This macro facilitates the creation of new layers in a drawing by providing the following functions:
- Create layers by simply entering a series of layer names ( Still useful, but especially useful in older versions of DataCAD where you had to rename even a single layer after creating it).
- Layers can be created either ON or OFF, and the most recently created layer can optionally be set as the active layer.
- Create layers by Copying existing layer names and attributes based on a prefix of suffix (e.g. copy Level1* to Level2*)
- Optionally copy entities from the source layer when creating new layers based on suffix or prefix.
- Optionally apply a Z offset when creating new layers based on suffix or prefix.
Note that this macro does not support long layer names if used with Spirit or versions of DataCAD prior to DataCAD 19.
Spirit Compatibility: Neither the 'Copy Contents' nor 'Z Offset' functions in this macro will work with Spirit. Other functionality appears to work correctly.
Get the macro |
(See the DCAL resources page if you would like to download the DCAL source code for this macro). |
Version History: v1.0 was initial public release.
v1.1 released 6 Nov 2018 added increased support for long layer names in the prefix/suffix copy functions.
|
David Henderson ABN 96 233 774 156