Sub test() Dim objBlockRef As AcadBlockReference Dim varPoint As Variant ThisDrawing.Utility.GetEntity objBlockRef, varPoint Dim att As Variant att = objBlockRef.GetAttributes att(0).color = 1 End Sub Sub test1() On Error Resume Next Dim filtertype(0) As Integer Dim filterdata(0) As Variant filtertype(0) = 0 filterdata(0) = "LINE" Dim sset As AcadSelectionSet Set sset = ThisDrawing.SelectionSets.Item("test") sset.Delete Set sset = ThisDrawing.SelectionSets.Add("test") sset.SelectOnScreen filtertype, filterdata End Sub