AttachedDrawing.GetTableList method

AutoCAD Map 3D ActiveX

AttachedDrawing.GetTableList method

Gets symbol table information to use in queries.

GetTableList(PropertyIndex As ETableType) As Variant

Returns symbol table information for the specified property, an array of String.

PropertyIndex

A symbol table.

AutoCAD Map stores non-graphical information such as block definitions, layers, groups, and text styles in symbol tables. Any source drawing or project can have symbol tables.

The following example gets information from a symbol table.

Dim amobj as AcadMap

Dim pobj As AutoCADMap.Project

Dim dsobj as DrawingSet

Dim adobj as AttachedDrawing

Dim blockset(1 to 100) as String

Set amobj = acadApp.GetInterfaceObject("AutoCADMap.Application")

Set pobj = amobj.Projects(ThisDrawing)

Set dsobj = pobj.DrawingSet

Set adobj = dsobj.Item(5)

blockset = adobj.GetTableList(kBlockTable)