How can I use JScript to automate the task of opening a DSDB, updating the geometry according to some new parameters, and writing out an input file?


Please see the attached archive. The path has been hardcoded for now, so drop these three files in C:scratch (or somewhere else, but you have to update the script accordingly), remove the ".txt" extension from the scriptfile, then open a command window and issue "cscript simple.js". The script will open WB, change a parameter, update the geometry, and write out a ds.dat file.





Show Form
No comments yet. Be the first to add a comment!