I am sending 5 boundary curves as a branched Data Tree into an Add Floor component. This makes 5 floors. I then Inspect Element on the 5 floors and modify their level parameter. I have 3 levels, so 2 pairs of floors share a level. Floor 1 is on Level 1, Floor 2 on Level 2, Floor 3 on Level 2, Floor 4 on Level 3, Floor 5 on Level 3.
The Element Parameter component wants to receive a Revit Level Object – it wont accept a Level Name or Level GUID. The only way I know how to generate a list of multiple Levels as Level objects is using the Level component like this:
However, I cannot find a way to have duplicate entries in this Level component. Just one representation of each Level.
Maybe there is a way through Manage Collection, but I don’t know how.
I was able to hack together the desired list, but even then it seems that the Level objects have been converted to strings?
Anyone encounter this problem? I could write a GhPython script and directly access and process the Revit levels through that? I haven’t delved into Revit API that way yet, so I am hesitant at the moment.