×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Model Check from the command line

Model Check from the command line

Model Check from the command line

(OP)
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".

RE: Model Check from the command line

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

RE: Model Check from the command line

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 http://communities.ptc.com

RE: Model Check from the command line

(OP)
Thank you all, I will definitely check into some of those ideas. If I find a way, I will post back with an answer.

RE: Model Check from the command line

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login



News


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close