API Reference > OdDg Classes > OdDgTable Class > OdDgTable Methods > OdDgTable::moveToStart Method
OdDgTable::moveToStart Method
Syntax
C++
virtual OdResult moveToStart(OdDgElementId& idTableRecord, bool bSkipDeleted = true);
Parameters 
Description 
OdDgElementId& idTableRecord 
[in] element id of the table record to move.  
bool bSkipDeleted = true 
[in] skip erased elements. 

eOk if table record was moved to the start position of the table.

Move table record from the table to the start position of the table. 

 

1) The table record must be from the table. The function is only change position of the table record and doesn't add it to the table. 2) Start position is not always first position. Some tables store their default data on the first element.

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