    

 ## On this page

  

 

 # OpenTD.IDbIterator Interface Reference

 Last update: 16.07.2025 

Use to iterate through the AutoCAD database, getting entities such as nodes, conics, etc. [More...](#details)

Inheritance diagram for OpenTD.IDbIterator:

 ![](/sites/default/files/migrate-content/opentd_net4_reference_2025_r2_1/interface_open_t_d_1_1_i_db_iterator.png)



## <a id="pub-methods" name="pub-methods"></a>Public Member Functions

bool [Done](#a7db722cf1227ae992de14777f121932d) () Returns true at the end of the database.   
 void [Step](#af16bd850d0db04212d051fc8534f5f97) () Steps the pointer to the next position in the database.   
 dynamic [DbObject](#a2fe58e8b4fb9d8cbe9aa0d35ee1fbd4e) () Returns the object at the current database position.   
 <a id="details" name="details"></a>## Detailed Description

Use to iterate through the AutoCAD database, getting entities such as nodes, conics, etc.



## Member Function Documentation

<a id="a2fe58e8b4fb9d8cbe9aa0d35ee1fbd4e" name="a2fe58e8b4fb9d8cbe9aa0d35ee1fbd4e"></a>## [◆ ](#a2fe58e8b4fb9d8cbe9aa0d35ee1fbd4e)DbObject()

 dynamic OpenTD.IDbIterator.DbObject  ( ) 

Returns the object at the current database position.

Implemented in [OpenTD.XRefDBIterator](class_open_t_d_1_1_x_ref_d_b_iterator.xhtml#a837a740ab9d60fc34390423ab594a074).





<a id="a7db722cf1227ae992de14777f121932d" name="a7db722cf1227ae992de14777f121932d"></a>## [◆ ](#a7db722cf1227ae992de14777f121932d)Done()

 bool OpenTD.IDbIterator.Done  ( ) 

Returns true at the end of the database.

Implemented in [OpenTD.XRefDBIterator](class_open_t_d_1_1_x_ref_d_b_iterator.xhtml#a974b0f7325cde2c27fb0fcc7268a1cb0).





<a id="af16bd850d0db04212d051fc8534f5f97" name="af16bd850d0db04212d051fc8534f5f97"></a>## [◆ ](#af16bd850d0db04212d051fc8534f5f97)Step()

 void OpenTD.IDbIterator.Step  ( ) 

Steps the pointer to the next position in the database.

Implemented in [OpenTD.XRefDBIterator](class_open_t_d_1_1_x_ref_d_b_iterator.xhtml#a3a96afb7cb67a1d3043117ac37f39783).





---

The documentation for this interface was generated from the following file:- C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/TDDEV\_ALPHA/buildXX/OpenTD/**DbIterator.cs**