For example, all the lists are made of Revit views. if viewsPF
contains sublists [[view1, view2, view3], [view4, view5, view6]]
and viewsFF
contains sublists [[view7, view8, view9], [view10, view11, view12]]
, the resulting viewlist
will be a list of sublists [[view1, view2, view3, view7, view8, view9], [view4, view5, view6, view10, view11, view12]]
.
I tried this, code but it does not work the operator +, what else can I do to get the result?
viewlist = [pf + ff for pf, ff in zip(viewsPF, viewsFF)]
I am using ironpython 2.7 in a Dynamo 2.4 of Revit 2019, I get a warning that operator + does not like the 3DView element or similar.
Warning: IronPythonEvaluator.EvaluateIronPythonScript operation failed.
Traceback (most recent call last):
File "<string>", line viewlist = [pf + ff for pf, ff in zip(viewsPF, viewsFF)]
, in <module>
TypeError: unsupported operand type(s) for +: 'View3D' and 'View3D'