Sub blockcolor() Dim blref As AcadBlockReference Dim pt As Variant ThisDrawing.Utility.GetEntity blref, pt Dim bl As AcadBlock Set bl = ThisDrawing.Blocks(blref.Name) For Each ent In bl ent.color = 1 Next ThisDrawing.Regen (acActiveViewport) End Sub
Sub blockcolor() Dim blref As AcadBlockReference Dim pt As Variant ThisDrawing.Utility.GetEntity blref, pt blref.color = 1 ThisDrawing.Regen (acActiveViewport) End Sub