|
[Sponsors] |
July 29, 2008, 13:53 |
Load MDL file from command line
|
#1 |
Guest
Posts: n/a
|
Hello
We are trying to integrate StarCD into a PLM System. So the MDL files are stored in the database and are exported on the local filesystem for viewing in ProStar. Is there any way to start Prostar from the command line with the mdl file as argument, so that you do not have to first start Prostar and then use file open ? |
|
July 30, 2008, 10:00 |
Re: Load MDL file from command line
|
#2 |
Guest
Posts: n/a
|
Prostar has some command line interfce switches such as - batch. Couldn't find a list easily - you could try support.
A second way would be to put an ifile statement in the PROINIT file so that it runs a local script file which could then load the model etc. |
|
July 30, 2008, 11:57 |
Re: Load MDL file from command line
|
#3 |
Guest
Posts: n/a
|
Something like the following in a shell script works for me.
!/bin/sh source /users/Install/v3260/etc/setstar case="starcase" prostar -batch < < EOD x $case n n vc3d 0 1 10 0 1 10 0 1 10 cset all cplo quit save EOD Note the double less than characters should be adjacent to one another. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[surface handling] Command line tool for finding the bounding box of an STL file | terrybarnaby | OpenFOAM Meshing & Mesh Conversion | 8 | November 4, 2016 14:09 |
Load Latest Result File into Post via Command Line | Karl | CFX | 2 | February 8, 2010 07:28 |
restart a case with .trn file in command line way? | wayne | CFX | 0 | October 10, 2008 10:02 |
Write .def file from command line | Alejandro | CFX | 3 | September 11, 2005 19:14 |
Change i/p mesh file on command line | Johnson Mendonca | FLUENT | 0 | September 2, 2004 13:08 |