Hi Community.
I'm to Microstation,
We have a bunch of files stored in ProjectWise and we need to find an efficient way to convert dgn files to dwg. Can someone please point me in the right direction?
Thanks
I would think the easiest method of converting a number of DGN files to DWG would be to use the Batch Convert tool.
To Set Up a Batch Conversion Job
Batch Convert Utility
It is always a good idea to mention the version of MicroStation you're using but would not think it would make much difference with using the Batch Convert utility.
MicroStation Forum best practices
RegardsAndrew BellTechnical SupportBentley Systems
Hi Andrew.I tried the tool and receive the following error message. The command line I entered reads as follows.microstation -WA batchconvert -I "D:\ProjectWise\Automation\Export\4.pending - batch job file\job1.bcnv"I also tried.msbatch batchconvert "D:\ProjectWise\Automation\Export\4.pending - batch job file\job1.bcnv"
This also gives an error which pops up too fast to record. Any idea what I'm doing wrong?
Thanks Andrew.
I created the batch conversion job, which creates the job1.bcnv file. However running the commands I provided produces an error.
Happy to jump on a teams call to discuss?
Can you run the Batch Convert utility from within MicroStation?Can you load your BCNV file in that utility and run it?
While I can't speak to that error, it's entirely possible that your BCNV is not processing correctly because of the ProjectWise environment. In my (limited) experience, trying to run processes outside of the PW environment on PW files doesn't always work - the files aren't where the process "thinks" they are.
I agree with Jon that you may need to post this over on the ProjectWise forum. That managed environment is quite different from a standard network file system.
MaryB
Power GeoPak 08.11.09.918Power InRoads 08.11.09.918OpenRoads Designer 2021 R2
Hi MaryB.
Thanks for your input. I've tried a run with files in ProjectWise and with file outside of ProjectWise on the file system. Both give me the same result if I run msbatch or run the microstation.exe from the command line as mentioned previously.If I run the job directly from the utility using the same .bcnv job file it works as expected.
I've also logged a call with Bentley support under projectwise topic and they transferred this case to Bentley Microstation...
Hi Andrew.I managed to capture the error that I get when I try and run the following command via the command prompt.
msbatch batchconvert "D:\ProjectWise\Automation\Export\4.pending - batch job file\BATCHJOB.bcnv"
Thanks for providing the error message that was displayed. This issue has previously been identified as Bug # 812993 which I will provide details of, and attach, via your Service Request. I believe we do not currently have a workaround to remedy this situation but it does work fine within a MicroStation CONNECT Edition session. You might also like follow the following discussion.
log4net:ERROR XmlHierarchyConfigurator: Cannot find Property [createpath] to set object on [log4net.Appender.RollingFileAppender]
msbatch batchconvert from command line does not work in Connect Edition
**Edit**
Thanks for the discussion during our remote session. Looking through the above Forum post it was noted that a workaround was provided by another user were they found that the removal of double quotes ("") from the folder / filename for the BCNV file was a way to get this operational. The only issue is that both the folder / filename cannot contain spaces.