ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
IDIra Dudley-Bestow20/02/2025

Hi I'm pretty new to the whole PDM API. 

I'm trying to run a task using VB and it's throwing this error:

Error processing file: The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))

I cannot for the life of me figure out why this is occurring. All the parameters appear to match the desired type

From this code snippet:
 

Private Sub RunDxf(filepath As String)
Dim TaskMgr As IEdmTaskMgr