ok, since there was not any replys on my Selection Set Error question, I am trying another way to select the objects in the drawing? any Ideas?
I know this does not work but something like this.
AcadEntities or Objects...
Dim entity As AcadEntity
Dim testBlock As AcadBlock
For Each entity In ThisDrawing.Database.Entities
If entity.ObjectName = "AcDbBlockReference" Then
Set testBlock = ThisDrawing.ObjectIdToObject(entity.OwnerID)
Debug.Print testBlock.Name
End If
Next entity
thanks,
Jason