- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
Simplified example here, but I have a Form to allow users to change the value of User Parameter X. The form shows read-only User Parameter Y and Z. The value of Y is calculated as 5 * Parameter X. In case the user enters a value for X and clicks Apply and that leads to Y being higher than Z, I would like to revert the value that the user entered to the previous value for X (so the last value before Y exceeds Z).
What I tried is reading the values with i.e.:
iLogicForm.Show("Test").GetField("X").Value
or .Forms
But that gives errors like:
'Values' is not a member of 'Autodesk.iLogic.Interfaces.FormReturnValue'
"It may be inaccesible due to its protection level"
Another way would be fine too, this is just what I thought of, thanks in advance!
Solved! Go to Solution.