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 2023 | Microstation 2023.1 | ProjectWise 2023
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.