ODTables.Item method

AutoCAD Map 3D ActiveX

ODTables.Item method

Gets a table.

Item(Index As Variant) As ODTable

Returns the specified table.

Index

The table name or index, starting at 0.

The following line of code, an excerpt from the ODTable.GetODRecords example, shows how to use the ODTables.Item method to get the records of the table.

Dim ODrcs As ODRecords

Set ODrcs = amap.Projects.Item(ThisDrawing). _

ODTables.Item("SampleOD").GetODRecords