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

Hiding equations in mathcad

Hiding equations in mathcad

Hiding equations in mathcad

Say I have two equations.  One equation is used if x > y.  The other is used if x <= y.  If for some situation x > y, I only want the function associated with that condition to show up on my printout.  I know I can simply drag the equation I want onto the printed portion and take out the equation I don't want, but I would prefer to not have to do that, especially since it might not be me who uses the program.  

I'd like to be able to write some kind of conditional statement that will decide which equation to "show" and which to "hide", so the the program will automatically make visible the equation associated with x > y, and make invisible the equation associated with x <= y. It's a matter of having available the equations for all situations, but having the printout show only those equations that are relavent to a specific situation, without requiring the user to have to drag anything around.

I've searched a number of help files and forums but can't find anything that does this.  Any tips would be much appreciated.


RE: Hiding equations in mathcad

I don't know of an elegant way to do it on the fly.  What I do in that situation is display the x and y values and then do an if statement.  Anyone who can read the calculation, can determine which is greater and which equation I used.


RE: Hiding equations in mathcad

You could put the equations in a collapsed area, then use a text box to show the proper equation.  The text box script could be edited to display text representing the correct equation (it wouldn't actually be the equation but could look like it).

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


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