Attaches a drawing to the project.
Add(DwgName As String) As AttachedDrawing
Returns the attached drawing.
DwgName
The following example attaches a drawing.
Dim prj As Project
Dim drset As DrawingSet
Dim atdr As AttachedDrawing
Dim amap As AcadMap
Set amap = ThisDrawing.Application. _
GetInterfaceObject("AutoCADMap.Application")
Set prj = amap.Projects(ThisDrawing)
Set drset = prj.DrawingSet
Set atdr = drset.Add("ALIASNAME:\\DirName\\DwgName.dwg")