CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens

Load MDL file from command line

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 29, 2008, 13:53
Default Load MDL file from command line
  #1
Martin_Dirndorfer
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 ?
  Reply With Quote

Old   July 30, 2008, 10:00
Default Re: Load MDL file from command line
  #2
James
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.
  Reply With Quote

Old   July 30, 2008, 11:57
Default Re: Load MDL file from command line
  #3
steve
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.

  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 06:20.