Hey folks,
my use case:
a) 1 room including 5 walls (W1…W5) each wall has an area and an allocation value.
b) 2 lists: List1: impact value (CO2eq/m2) list for external walls (n=50), List2 impact value (CO2eq/m2) for internal walls (n=50).
My goal is to ask: When Wall has Allocation value 1 then WallArea * all values from List1, else WallArea * all values from List2.
The output should be:
For every wall a list out of 50 impact values, representing the total impact value for the entire wall.
Actually, it is a simple for loop, but I face problems with List IN[2] and [3] somehow IronPython doesn’t like these lists.
The most warning I get is:
Warning: IronPythonEvaluator.EvaluateIronPythonScript operation failed.
Traceback (most recent call last):
File “”, line 34, in
TypeError: object cannot be interpreted as an index
Whereas I believe the index is correctly written.
I tried to unwrap the elements, for IN[0] and IN[1] its fine, but he cant unwrap [2] and [3].
Any ideas? Thanks in advance.