You definitely need to check

If oshp.Line.Visible and only use the Line weight if true