ELEVLAYER

Put selected objects on new layers named after their elevation / Z value of insertion point.

INTRODUCTION

Command: ELEVLAYER
Height interval <1.0>:

The default height interval is 1 unit. The input must be larger than 0. If the input is less than 0.0000000001, ELEVLAYER will use 0.0000000001 as the height interval.
The height interval affects the value of converted elevation.

For example, the elevation 100.35 will be rounded up
to 100 if the height interval is 1,
to 100.5 if the height interval is 0.5,
to 100.25 if the height interval is 0.25,
to 100.350 if the height interval is 0.001

Select objects:

Selected objects will be put to relative layers depending on their elevation / Z coordinate of insertion point.
The new layer name start with a prefix of "ELEV-" and followed by nearested rounded elevation figure.
For example, if the height interval is 0.5, the elevation 100.35 will be rounded up to 100.5. Any selected polylines of this elevation will be put on a new layer named "ELEV-100.5".
The color of new layers is always red.

NOTES

  • Valid object types: Polyline, point, text, mtext, block, table, hatch, shape, tolerance, and attribute, may add more types in the future.

  • It might be enhanced in the future to add a GUI, allowing user to input height interval, color, and name prefix of both major level layers and minor level layers.

DISCUSSIONS

UPDATES

20 Aug 2020, Able to change 2d polylines.
08 Oct 2010,
Updates