Gets an object reference to a drawing that is part of a NestedDrawings collection.
Item(DwgNameOrIndex As Variant) As AttachedDrawing
Returns a reference to a specified AttachedDrawing object that belongs to NestedDrawings.
DwgNameOrIndex
The following example gets a nested drawing.
Dim amobj as AcadMap
Dim pobj As AutoCADMap.Project
Dim dsobj as DrawingSet
Dim adobj as AttachedDrawing
Dim ndobj as NestedDrawing
Dim objnum as Long
Set amobj = acadApp.GetInterfaceObject("AutoCADMap.Application")
Set pobj = amobj.Projects(ThisDrawing)
Set dsobj = pobj.DrawingSet
Set ndobj = dsobj.NestedDrawings
Set adobj = ndobj.Item(5)