API Reference > OdDb Classes > OdDbSortentsTable Class > OdDbSortentsTable Methods > OdDbSortentsTable::getRelativeDrawOrder Method
OdDbSortentsTable::getRelativeDrawOrder Method
Syntax
C++
void getRelativeDrawOrder(OdDbObjectIdArray& entityIds, OdUInt8 honorSortentsMask = 0) const;
Parameters 
Description 
OdDbObjectIdArray& entityIds 
[in/out] Entity IDs.  
OdUInt8 honorSortentsMask = 0 
[in] SORTENTS mask. 

Returns eOk if successful, or an appropriate error code if not.

Rearranges the specified entity IDs into their current relative DrawOrder for this SortentsTable. 

 

If (honorSortentsMask ^ SORTENTS) != honorSortentsMask, the entities are returned unsorted. 

As implemented, honorSortentsMask is ignored. It will be fully implemented in a future release.

Copyright © 2002–2021. Open Design Alliance. All rights reserved.