Does anyone know how to call IEdmBatchAdd::CommitAdd() via a Convert script (i.e. VBA script). I can't reference the EPDM component within the script, and so don't have access to the EdmFileInfo structure... doesn't appear to like any variation of Object or Variant.
Dim pdmFileInfo() As Object ' EdmFileInfo
errors = pdmBatchAdd.CommitAdd(0, pdmFileInfo, 0, Nothing)
Thanks,
Greg,
EPDM 2014 SP4
Can you show how pdmBatchAdd is declared. BatchAdd has to be run initiated as a utility, in VB it looks like this (no idea what VAB requires):
batchAdder = vault2.CreateUtility(EdmUtility.EdmUtil_BatchAdd)