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 | 317 | December 17, 2020 | |
Modifying Strings to Lists | 3 | 1186 | September 22, 2016 | |
Array from String | 4 | 624 | July 6, 2022 | |
String to Element generic models | 1 | 171 | May 22, 2022 | |
Element.GetParameterValueByName - How to convert Length to Double ? (0.73) | 4 | 623 | December 10, 2014 |