AnsweredAssumed Answered

Macro Insert Table Line Weight Not Working

Question asked by James Dickson on Apr 2, 2020
Latest reply on Apr 3, 2020 by James Dickson

I'm using Solidworks 2019 SP3

 

This worked great in Solidworks 2016 to insert a table. Is there some way to control the border and grid line weight in 2019?

 

Thanks for any help you can give.

 

-------------------------------------------------------------------------------

If Update_Format.ComboBoxSources1.Value = 1 Then

' Insert general table
Set swTable = swDrawing.InsertTableAnnotation2(False, 0.34282409743605, 0.130648154512635, swBOMConfigurationAnchor_TopLeft, sTemplatepath & sTableName, 6, 3)

swTable.RowHidden(4) = True
swTable.RowHidden(5) = True

'swTable.BorderLineWeightCustom = 1

If Not swTable Is Nothing Then
swTable.BorderLineWeight = 1
swTable.GridLineWeight = 1
End If

End If

Outcomes