I'm trying to export Revit models from a folder in ProjectWise, I've tried to use these API functions:
But they all failed, the return value is false, and only a 0k size file downloaded.
Please note I've used these APIs to export Microstaion Dgn files for many years, without any problem.
So what's the problem with Revit model exporting? Does anyone meet the same problem? Thanks a lot.
@wence, here's a quick summary of what one of the PW developers had to say:
There was also a potential race condition (more often possible with Revit files): when a lot of users were trying to work in a single document in some cases updates could get into conflict with "in-progress" reads.
This issue should be less possible in the recent versions (10.00.03.299+).
You might try upgrading your development machine to PWE 10.00.03.299 or later as well as using the latest version of the PW SDK which is 10.00.03.262 and test your code again.
Were you able to replicate the behavior with unmanaged code?
Thanks Dan. I'll try your suggestions, also I'll try unmanaged code. Really appreciate your help!