System Variable Entry: MAXSORT

← Prev | ↑ Chapter | Next → | Index | Symbols

System Variable Entry: MAXSORT

Name

MAXSORT

Type

integer

Default

1000

Read-Only

no

Scope

registry; saved in registry

Description

Sets the maximum number of items such as file names, layer names, and block names that are sorted alphabetically in dialog boxes, drop-down lists, and palettes.

Read/Written By

  • getvar
  • setvar

This GUI listing limit does not constrain `acadstrlsort`. When displaying large named-object lists, set MAXSORT to a value matching their size, within its supported range (0..32767).

Compatibility

AutoCAD and BricsCAD. AutoCAD all; BricsCAD V20+. Divergence: type AutoCAD Integer, BricsCAD Short; default AutoCAD 1000, BricsCAD 200. clautolisp and lax use the larger AutoCAD initial value, 1000. Explicit SETVAR values take precedence over factory defaults across dialect changes.