I hope someone can help me doing the following:
I have a macro that saves the BOM table to a txt file, but i need to add a row on top of the table with the information of the assembly itself ( same columns as the other rows).
The table is saved by:
Set swCustPrpMgr = swModel.Extension.CustomPropertyManager("")
swCustPrpMgr.Get3 "Version", False, "", Value
swCustPrpMgr.Get3 "NBR", False, "", Value2
swCustPrpMgr.Get3 "NAME", False, "", Value3
filename = Value2 & "_" & Value & "_" & Value3
Set swTable = swView.GetFirstTableAnnotation
Do While Not swTable Is Nothing
swTable.SaveAsText "c:\\" & filename & ".txt", vbTab
Set swTable = swTable.GetNext
Loop
Set swView = swView.GetNextView
Loop
is this possible?
SolidworksApi macros