@briant.markham,
Sorry for late reply,
Hoping that below VBA code may be helpful. To update drawings, run below VBA code at iPartFactory.
Sub Update_Drawings()
Dim oDoc As PartDocument
Set oDoc = ThisApplication.ActiveDocument
Dim oDef As PartComponentDefinition
Set oDef = oDoc.ComponentDefinition
If oDef.IsiPartFactory = True Then
Dim iPartCell As iPartTableCell
Dim cnt As Integer
cnt = oDef.iPartFactory.FileNameColumn.Count
Dim i As Integer
For i = 1 To cnt
Set iPartCell = oDef.iPartFactory.FileNameColumn.Item(i)
Call Update_Memeber_Drawing(oDef.iPartFactory.MemberCacheDir, iPartCell.Value)
Next
Else
MsgBox ("Part document is not iPart Factory")
Exit Sub
End If
End Sub
Sub Update_Memeber_Drawing(dir_Name As String, memberName As String)
Dim oMemeber_path As String
oMemeber_path = dir_Name & "\" & memberName & ".dwg"
ThisApplication.SilentOperation = True
Dim oDrawdoc As DrawingDocument
Set oDrawdoc = ThisApplication.Documents.Open(oMemeber_path, False)
Call oDrawdoc.Update
Call oDrawdoc.Save
Call oDrawdoc.Close
ThisApplication.SilentOperation = False
End Sub
Thanks and regards,
CHANDRA SHEKAR G
Developer Advocate
Autodesk Developer Network