Array Handling in 0.7.1.9124 Versus 0.8.1


#1

Utter Newb here. In my definition, I want to start by getting a list of parameter values from all the elements of a specific category. The following is based on examples I’ve seen, and it works in version 0.8.1 as shown…

2015-07-23_13-28-18

 

 

 

 

 

However, on my work laptop, on which I am required to work, I only have the version that shipped with Revit 2015 UR2, which was version 0.7.1.9124, and this same approach does NOT work…

2015-07-23_13-38-20

 

 

Why don’t I just upgrade? Because I work for the US federal government, and appropriate approvals must be in place, which takes time. The wheels are in motion but, again, it takes time.

So, my question: Is there a workaround in the earlier version? Logically, I think it wants me to parse the array and pass one element at a time, but I haven’t been able to figure that out.

Thanks in advance for your help!


#2

Hi Tim,

Could you try changing the lacing option of the “Element.GetParameterValueByName” node to longest? If that fails as well, you could try mapping the GetParam function:

2015-07-24_11-21-54