passing commands

  • david

    david - 2010-08-19

    I am making a C# program and I would like my program to open mged and pass it commands (or open a script), but I cant seem to do this. I can get it to open mged, but I cant get the commands to pass through. Is it possible via C# code or a batch file. If so, how???

  • Sean Morrison

    Sean Morrison - 2010-08-20

    Sure!  That's entirely possible.  You can try running mged in command mode (format: mged -c  , e.g., "mged -c file.g tops") but I suspect you're just not passing commands correctly from c#.  You can either pass one command at a time like I just showed or you can feed mged input via standard input (stdin).


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks