C++
Acad::ErrorStatus setDrawOrderCtl( Adesk::UInt8 val );
Description
Sets 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 set 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. |
If a value outside of the 0-3 range is passed into setDrawOrderCtl(), it will return eInvalidInput. Otherwise, it will return eOk.
Parameters
Parameters | Description |
---|---|
val | Input value for the DRAWORDERCTL system variable |