Message 1 of 6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello, I have been trying to write a macro that will allow me to select all dimensions on a drawing (with multiple views and pages) and re color them. I have been down many rabbit holes but have not been able to solve it.
For Each oDim In oSheet.DrawingDimensions.GeneralDimensions Try 'linear dimension If oDim.IntentOne.Geometry.Parent.Name = "VIEW2" oDDoc.SelectSet.Select(oDim) End If Catch 'circle dimension If oDim.Intent.Geometry.Parent.Name = "VIEW2" oDDoc.SelectSet.Select(oDim) End If End Try Next
I have this but it only allows me to select dimensions with certain view names "VIEW2"
Solved! Go to Solution.