I’m sending a pretty massive list of values from excel into revit. This contains both values and integers and that has been handled fine. I’m looking for a way so that it’ll also allow booleans to come through, I’m guessing Dynamo allows those to pass through the element.setparameterbyname node, but I don’t know how to make sure Dynamo reads certain excel inputs as true or false inputs.
Do reailize that both the numerical values and booleans will come from the same list.
First of all I’d like to know if it’s even possible to send booleans into the value input of that node, I’m guessing that shouldn’t be a problem.
If so then I’d like to see a way that’d allow me to get boolean values from excel. I wondered maybe with an if statement that’d just changes the things that gave “true” or “false” into an actual boolean and ignoring all the numerical values. But that made me realize again that I don’t find the Dynamo if statement comfortable to work with.
Well that is a solution which I could’ve figured out myself,but simply not the kind I want, because I’d have to pick out every single true/false value to manage that. There’s 21 values going in now, it might become more, and I try to keep the entire thing as “elegant” as possible.
I can actually solve it in Revit itself as well by “converting” an integer into a true or false value, but that’s not exactly elegant either.