I know the ObjectNames of different dimensions. However, when I use that in
my code, still nothing changes. This is driving me crazy.
To find the name I did this
Dim OBJ As AcadEntity
ThisDrawing.Utility.GetEntity OBJ, IPT, "pICK AN OBJECT"
MsgBox (OBJ.ObjectName)
and here is my code attempting to change settings
Dim sset As AcadSelectionSet
Set sset = ThisDrawing.SelectionSets.Add("All_Objs")
sset.Select acSelectionSetAll
If Err Then
Err.Clear
sset.Select acSelectionSetAll
End If
Dim OBJ As AcadEntity
For Each OBJ In sset
OBJ.Color = acByLayer
If OBJ.ObjectName = AcDbAlignedDimension Then
OBJ.Arrowhead1Type = acArrowOpen30
OBJ.Arrowhead2Type = acArrowOpen30
ThisDrawing.Regen acAllViewports
End If
Next
sset.Delete