Share

AcDbDatabase::drawOrderCtl

C++

Adesk::UInt8 drawOrderCtl() const;

Description

Returns the value of the DRAWORDERCTL system variable, which enables users to revert to legacy draw order mode if required. This system variable is per drawing in order to be consistent with SORTENTS.

The return values are defined as follows:

0 Full draw order functionality.
1 In-place graphic updates are disabled. When this bit is set, objects that are edited appear in front of other objects. It is important to note that this is actually not guaranteed to be their location after doing a manual REGEN, saving the file, closing it and reopening it, or when plotting.
2 Setting this bit disables inheritance of objects derived from other objects, such as split objects. When off, the new line created from a split line will be in front of all objects, and the old line will keep its existing draw order.
3 Both in-place editing and inheritance of objects derived from other objects are disabled.

Links

AcDbDatabase Class

Was this information helpful?