I’m exporting some info to Excel and then later reading it back in.
The problem I’m having right now is with Element IDs.
I thought I was doing List.IndexOf (or List.AllIndicesOf) wrong, but it turns out that when I read the IDs in from Excel, they come in as Doubles, but when I get an Element ID from Revit, it’s an Integer. So they don’t match.
I tried getting around it by setting the readAsStrings option in the Excel.ReadFromFile node, but that’s a global setting, and I have other cells I need to have as numbers.
I’ve also tried Math.Round, but that can’t handle arrays, just single values.
All I really want to do is convert a list of Doubles (123456.000000) to Integers (123456)
(Ive already read these threads:)
They all helped, but nothing worked as a final solution