API Reference > OdDb Classes > OdDbSortentsTable Class
OdDbSortentsTable Class
OdDbSortentsTableOdDbSortentsTable
Syntax
C++
class OdDbSortentsTable : public OdDbObject;

DbSortentsTable.h

This class implements the SortentsTable, which specifies the DrawOrder of entities in an OdDbDatabase instance.

Each instance of this class contains the DrawOrder for a single OdDbBlockRecord. 

When drawing entities in a Block Table Record, an iterator traverses the Block Table Record in the order of ascending handles. If there is a HandlePair in the SortentsTable corresponding to the handle of the object about to be drawn, the entity specified by the entity ID in the HandlePair is drawn in its stead. If there is no such HandlePair, the entity referenced by the iterator is drawn. 

 

 
Name 
Description 
 
This is OdDbSortentsTable, a member of class OdDbSortentsTable. 
 
Name 
Description 
 
Returns the Object ID of the Block Table Record to which this SortentsTable belongs. 
 
Reads the .dwg file data of this object.
 
 
Writes the .dwg file data of this object.
 
 
Reads the DXF data of this object.
 
 
Writes the DXF data of this object.
 
 
Returns true if and only if the first entity is drawn before the second with this SortentsTable.
 
 
Returns this SortentsTable as an array of HandlePair pairs.
 
 
Returns an array of the entity IDs of the entities in the associated Block Table Record, in the DrawOrder for this SortentsTable.
 
 
Rearranges the specified entity IDs into their current relative DrawOrder for this SortentsTable.
 
 
Function returns the handle that indicates the draw order. 
 
Moves the entities with specified entity IDs above the target entity in this SortentsTable.
 
 
Moves the entities with specified entity IDs below the target entity in this SortentsTable.
 
 
Moves the entities with specified entity IDs to the bottom of this SortentsTable.
 
 
Moves the entities with specified entity IDs to the top of this SortentsTable.
 
 
This is ODDB_DECLARE_MEMBERS, a member of class OdDbSortentsTable. 
 
Sets this SortentsTable from an array of HandlePair pairs.
 
 
Sets the relative DrawOrder for the specified entities in this SortentsTable.
 
 
overridables 
 
Swaps the DrawOrder of the specified entities in this SortentsTable.
 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.