Hi, I'm a bit confused here.
In my CSV table I have a usage column and a floor height for that usage (just like the tutorial)
Printing the usages
attr Testusages = [usages_data[0:numUsages-1,0],usages_data[0:numUsages-1,1]]
I receive:
(10x2)
Residential 3,6576
Office 3,9624
Business 4,572
Parking 3,048
Education 3,9624
Sports 7
Cultural 4,572
Research 3,048
Health 4,572
The attribute:
@Enum(valuesAttr=Testusages)
attr floor_usages = stringArray()
is not showing the usage chosen + is height, it only shows the Usage. So if I print that one I get:
(10)[Residential,Parking,Residential,Residential,Residential,Sports,Residential,Residential,Business,Residential]
I want to calculate the sum of the height and pass it through as a value through my rule, depending on the floor usage chosen.
So if I could just pass the second row in the CSV, I would expect that I could do a sum() and then I would have the total height of the chosen usages.
But how to??
Thanks.