Quantcast
Channel: PTC Community : Discussion List - PTC Mathcad
Viewing all articles
Browse latest Browse all 2936

Automatically changing color and text depending on a condition, an aesthetical question

$
0
0

Dear all,

I got from some old, long forgotten   training course the following (here very simplified) example of a scripted automated change of colour and text depending on a Boolean condition.

This is to me pretty useful, for example when there are many requirements that I have to prove all satisfied for example for a structural verification.

The only "problem" in this implementation is that the condition appears under the "traffic light" red / green message.

Unbenannt.JPG

 

This is because the Arguments have to be under the box.  I would definitely prefer having the coloured text message either on the right of the condition, or under it. Because it is a logical consequence of the condition, so the reading should go from left to right and downwards.

Of course I could define a dummy variable containing the condition and then use this one as dummy argument, and then "hide the arguments". This is a little error-prone when ones makes many cut-and-pastes.

This is admittedly a low priority aesthetical question...

But maybe ...

Anyway, thanks for any idea and best regards

Claudio


Viewing all articles
Browse latest Browse all 2936

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>