TREEDEPTH system variable

Tree depth

Specifies the maximum number of times the index can be divided into branches to enhance performance.

When set to zero, entities are always processed in database order, with no performance benefit from spatial indexing.

When set to a positive value, spatial indexing is applied and supports up to five digits. The first three digits are for model space and the remaining digits are for paper space.

When set to a negative value, the Z coordinates of all entities are ignored, whether in model space or paper space. Because z coordinates are ignored, a negative value is most appropriate and efficient for 2D drawings.



Saved in:


Default value:


Possible values:

0: Suppress spatial indexing

>0: Apply spatial indexing

<0: Ignore Z coordinates