May it be possible to convert a string to a formula? I want to load several family instances with a formula parameter defined as text. One such instance would contain “Unconnected Height * Length”. Another would have “Volume / Area”. It was easy enough to extract the parameters from the strings and pull them from the walls. What I am struggling with is the operators. Once you get a “*” operator, how do you make it multiply? I saw the Math.EvaluateFormula node, but I couldn’t find any helpful information on how to make it work, assuming it could solve the problem. Does anyone know how this might be done?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
setFormula adds equations as text, not as an equation | 2 | 324 | December 17, 2020 | |
Get formula from revit families
|
0 | 689 | December 21, 2017 | |
Modifying Strings to Lists | 3 | 1205 | September 22, 2016 | |
Converting Decimal String to Numbers/Doubles | 3 | 46 | January 10, 2025 | |
String to Multiline Text parameter | 5 | 4238 | November 6, 2020 |