Value of attribute doesn't show up when used within formula field

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I'm trying to make a dynamic block that calculates a slope between two points - The way it is supposed to work is:
1. User inserts block
2. Block prompts asking the elevations of two points (i.e. 123.23 and 123.34)
3. User drags arrow points as required to cover the desired distance on their plans
4. The block then automatically calculates the elevation divided by distance (lets say 5000mm) to get the slope percentage:
Example formula: (((abs(123.23 - 123.34) / (5000 / 1000)) * 1000)
and displays the result in an M-TEXT over the arrow (2.2%, in this case)
The issue I'm having is that when I try to place either of the elevation attributes as fields in the formula field of my M-TEXT, it only uses their default values and refuses to update when new values are inserted. All I can get them to display is #### and when I go back into the formula field it's empty and I need to redo my actions.
A few notes:
I'm using an aligned dimension to calculate the distance (this will be on a hidden layer)
I've attached the file I'm working with.
Thanks a lot!