Load MDL file from command line
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 ? |
Re: Load MDL file from command line
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. |
Re: Load MDL file from command line
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. |
All times are GMT -4. The time now is 20:17. |