Hi,
I’m trying to make this script work for nested lists:
The basic script:
- List of all used pipes in the project
- Read from excel-file: list of all available pipes and their corresponding keynote
- Per pipe used in the project: search in the available pipes list (read from excel) the index of the diameter so we can obtain its corresponding keynote…
The diameters and keynotes, read from excel, are dependent on the pipe material, which leads to nested lists…
- List 0 = List of all used pipes of material A in the project
List 1 = List of all used pipes of material B in the project
… - Read from excel-file:
List 0 = list of all available pipes of material A
List 1 = list of all available pipes of material B
…
Now I’m trying to define for each element of list 0 (pipes in the project - material A) its corresponding index in list 0 (read from excel - material A), for each element of list 1 (pipes in the project – material B) its corresponding index in list 1 (read from excel – material B),…
Appreciating any help!