Hello everybody,
I have the following problem:
Traceback (most recent call last):
File “”, line 23, in
AttributeError: ‘FamilyInstance’ object has no attribute ‘Symbol’
And here is the Pythonskript:
Phython-Unterstützung aktivieren und DesignScript-Bibliothek laden
import clr
clr.AddReference(“RevitAPI”)
paramCollection = IN[0]
objCollection = IN[1]
valueList = list()
for i, objList in enumerate(objCollection):
for obj in objList:
_valueList = list()
for param in paramCollection[i]:
_valueList.append(obj.Symbol.LookupParameter(param).AsValueString())
valueList.append(_valueList)
OUT = valueList
I’m just getting stuck and hope you can help me with that.
Best Greatings
Jan