Duct insulation get host

g day all,
im trying to find the mapping between duct fittings and the duct insulation on a fitting, i think that I found exactly what i want in this topic,

but when I tried the pythoncode it gives me this error:

so much thanks for any help

Martin

test.dyn (5.0 KB) Project01.rvt (1.9 MB)

The error refers to the intendation after for item...

Instead of :

for item in faminst:
sourcelist.append(...

Try:

for item in faminst:
    sourcelist.append(...

Basically a [Tab] before the following line.

1 Like

Thank you Kibar !!! It works!

1 Like