TREEDEPTH System Variable — GstarCAD 2027
TREEDEPTH System Variable
GstarCAD 2027 · System Variables
System Variables > T System Variables > TREEDEPTH
Function Description:
The TREEDEPTH system variable is used to specify the maximum depth, it means the number of times the tree-structured spatial index can divide into branches.
| Type | Integer |
| Saved in | Drawing |
| Initial value | 3020 |
System Variable Value:
0: suppress the spatial index entirely. It may eliminating the performance improvement in large drawing. This setting can make sure all objects dealt in database order.
>0: open the spatial index. An integer of up to five digits is valid. The first 3 digits refer to model space, the remaining two digits refer to paper space.
\<0: treat objects in model space as 2D objects by ignoring Z coordinates, similar as objects in paper space. This settings is suitable for 2D drawing. It makes efficient use of memory without loss of performance.
Note: this system variable can not be used transparently.