Preview | SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
wwwoszu woszu22/03/2024
Hi.
I have a macro that removes selected (according to a condition) rows from a table (you have to select the whole table first and run the macro). It works without any problem.
Dim swApp As SldWorks.SldWorks Dim swModel As SldWorks.ModelDoc2 Dim swSelMgr As SldWorks.SelectionMgr Dim swBOMTable As SldWorks.BomTableAnnotation Dim j As Long Sub Main() Set swApp = Application.SldWorks Set swModel = swApp.ActiveDoc