below is a bit of code from a vba macro. it works fine except for the linweight part. it sets all of the objects to bylayer for color, linetype but does not reset the lineweight to by layer. anyone see the issue?
For Each adEnt In adSS
adEnt.color = 256
adEnt.Lineweight = "ByLayer"
adEnt.Linetype = "ByLayer"
adEnt.Update
Next adEnt
End Sub
For Each adEnt In adSS
adEnt.color = 256
adEnt.Lineweight = "ByLayer"
adEnt.Linetype = "ByLayer"
adEnt.Update
Next adEnt
End Sub