You need to provide extra parameters for OpenDoc6, in addition to the filename.

I have never used SldWorks, so I can't help with what they might be - you'll have to check the documentation to see what OpenDoc6 requires.