Trying to get someone help
I am trying to compare two list (both are element ID ),but I wonder why the result show out always is false?(I already check that the id I want to compare is inside another list) . I also try the list in contain before, but the result still the same.
are the same values have the same type ? integer ?
Thank you too ,but I try that before, it doesnât work.
Sorry, I try myself but I canât find out what type the number belong to. One of the is the element id I get in select model element ,another is the element id I read from the excel(the data in excel is from the same revit project that I export by schedule)
Likely this is mismatched data types.
Use an Object.Type node to confirm one set of nodes isnât a string and the other an integer. If the types donât match, convert one value using a String.ToNumber or a String.FromObject node.
Hi hi,I try to use object.type connect to them by both of them show the other type of data or warning, so I think they both are not the string and therefore cannot use string.to number or a string.fromobject. So I wonder if I change the data load from excel to element id by node change parameter to element id, can it work?
If that can, how should I input the data ?
try to convert them both to string by stringFromObj node, then do what you want then turn them back to number by ToNumber node
Is there any trailing whitespace you need to filter out?
I use that before ,but it doesnât work because the data does not belong to same data type.



