- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
The section on units ( Understanding Units in Fusion 360) asserts that the ValueInput object can evaluate expressions, to wit:
The ValueInput object serves as a way to pass in either a string or a real value through a single argument. If you pass in a string, that string is used as the equation of the parameter that's created. This means it can include references to other parameters, functions, etc. (emphasis mine) If you pass in a real value, an equation is computed by Fusion 360 and displayed in the parameters dialog.
In what context / namespace is this expression parsed and evaluated? It is mentioned that functions can be referenced. What functions? Anything in the Python math module? What other parameters are in the namespace? The ValueInput reference manual page does not elucidate the above statement, only that 'createByString' can evaluate elementary expressions.
Solved! Go to Solution.