Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Model Check from the command line

Status
Not open for further replies.

hermhart

Automotive
Sep 28, 2004
23
0
0
US
Is there a way to run Model Check from a command line? I see at the end of the modelcheck.bat file there is a line:

"%prodir%\%MC%\obj\modelcheck.exe" %1 %2 %3 %4 %5 %6

Is there any way to plug in the information that you need to just be able to double-click on the modelcheck.bat file (or a shortcut to), and have it complete the model checks, as it looks like all it needs is arguments to fill in the "%1 %2 %3 %4 %5 %6".
 
Replies continue below

Recommended for you

You should be able read through modelcheck.bat and determine what the 6 variables are that it needs and build a command string which can be entered in a command window.

Double-click on an icon to launch a program is NOT the same as running it from a command line.


"Wildfires are dangerous, hard to control, and economically catastrophic."

Ben Loosli
 
The bat file runs under cmd and is called with arguments. You'll need to find out what those arguments are; be aware that they may be created and assigned from environment variables by whatever starts Modelcheck.

I don't see a way to successfully run it from the cmd window, but it can be run on its own.

You may wish to ask on PTCuser or PTC Community. portal.ptcuser.org (ask fast, they are being liquidated soon by PTC Community) and
 
Modelcheck is included in most of the PTC bundles. Sigmaxim products have a cost associated to them.


"Wildfires are dangerous, hard to control, and economically catastrophic."

Ben Loosli
 
Status
Not open for further replies.
Back
Top