Dear colleagues,
My predecessor on this project used input file commands like these:
script,save as dwg D:\scm_ma40.dwg999
I don't know the script command, and the manual information doesn't 'give me any clues. One would think this will produce a dwg conversion file in D:'s root, but it doesn't. Any insights are greatly appreiciated.
Hi,
All the MX "SCRIPT" command does is pause the MX engine and run a Microstation CAD process. The text following it is just a Microstation keyin.
Eg. If i wanted to open a new dgn from an input file, i could use "SCRIPT, newfile", etc.
Weve used this method to build dynamically updateable synchronised MX-OpenRoads models in the past as well as automating export processes and its worked well.
Regards,
Mark
OpenRoads Designer 2022 R3 (10.12) | Microstation 2023 | ProjectWise CE 3.4
Hello Mark, thank you for your reply.
So, the command doesn't require any script to be predefined within Mx, and can also be used in my own environment. Good news. The question remaining is of course why it didn't work here, as there are no resulting new files in D:\. Should I use "quotes" in the file name?
You shouldn't need quotes for the filename unless it contains spaces. I think the issue here may be a missing space after the SCRIPT command, eg. SCRIPT, xxx instead of SCRIPT,xxx?
FYI Here is a PDF of the SCRIPT info from the MX SS4 Civil help file - it is something that is well hidden...
PDF
Please note that we have found some errors in this page, like missing spaces, etc. but it is a good start.
Also, forgot to mention that in MX SS2 this command works completely different and activates the MX Script dialog. This keyin application only works for SS3+ versions.
Answer Verified By: RBo
Ah, then me still working SS2 might be what's bugging me. I use SS2 because I have problems running Bnlxinprunonce.exe and SDK connections. Truly a pity, this would save me a lot of work if it, well, worked... thanks for helping me sort this out.