There are a lot of examples here for editing attributes using VBA its very simple to make new code to do change attributes to 1 or multiple blocks
here is a quick example to select all blocks the secondary criteria rem out looks for block name SCHEDTEXT
Code:FilterDXFCode(0) = 0 FilterDXFVal(0) = "INSERT" 'FilterDXFCode(1) = 2 'FilterDXFVal(1) = "SCHEDTEXT" Set SS = ThisDrawing.SelectionSets.Add("pit1sel") SS.Select acSelectionSetAll, , , FilterDXFCode, FilterDXFVal



Reply With Quote

Bookmarks