Community
Hi
I am after a way of accessing the update styles on dwg so that I can run with rule below as most of our drawing stds have changed and old dwgs need updating the work flow is as follows.
ps : I am aware there is is a update style wizard it is not preferable to use in this case,
Regards
dave
On Error Resume Next Dim oDrawDoc As DrawingDocument oDrawDoc = ThisApplication.ActiveDocument Dim Sheet As Inventor.Sheet Dim Cursheet As String Cursheet = oDrawDoc.ActiveSheet.Name For Each oSheet In oDrawDoc.Sheets oSheet.Activate Dim oPartsList As PartsList oPartsList = oDrawDoc.ActiveSheet.PartsLists.Item(1) If Not oPartsList Is Nothing Then Resume Next 'Call oPartsList.Sort("ITEM") Call oPartsList.Sort("PART NUMBER", 1, "DESCRIPTION", 1, "QTY", 1) iLogicVb.UpdateWhenDone = True ActiveSheet = ThisDrawing.Sheet("Sheet:1") ThisApplication.ActiveView.Fit End If Next
Hi Rene
My misunderstanding I have installed it now and testing the results
But however I would still like to pursue a way of finding the code that would work via ilogic
regards
Dave