- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
My Add-in collects user-data - I want to make the numbers they type in go red when they make no sense (e.g. out of range, like negative Reynolds numbers), like how the existing UI does it when we are dimensioning sketches etc.
Ideally - I need my code to decide which numbers make no sense, based on the numbers themselves, as well as the other numbers they entered (e.g. a wing chord is OK only for certain reynolds numbers)
Is this possible?
Assuming not - how would you recommend that I collect a complex set of interdependent values from my users, in a way that holds their hand in real-time?
Specifically - they're inserting an airfoil, and they need to supply some of the following, so I can compute the rest and return the best appropriate one for them:
The medium:
Air (and altitude and temperature)
Water (and fresh/sea, and depth, and temperature)
Other (so they need to supply fluid density + dynamic viscosity, or kinematic viscosity)
Their needs:
Chord
Velocity
Target optimization (best l/d or least drag etc)
So I can compute (or they can skip the above and enter directly):-
Re (Reynolds Number)
I want them to be able to use or select whatever units they want (Fahrenheit, knots, mph, m/s etc)
Ideally - I want to compute "in real time" (as they type) whatever they left out - e.g. if they supplied the Re, Chord. and Velocity, I want to insert the medium data for them.
Solved! Go to Solution.