Closed Mohamadnawar closed 5 years ago
i have the same problem
Revit 2020 uses a new version of iron python - 2.7.8. The way this new version opens and reads text files seems to be different. Still trying to figure out why.
As a temporary fix, edit the python script and replace lines 48 to 50 as such:
with System.IO.File.OpenText(report1) as f:
while not f.EndOfStream:
parser.feed(f.ReadLine().replace("&", ""))
the python equivalent of the above code seems to be:
import io
with io.open(filepath, "r", encoding="utf-16") as f:
for line in f:
print line
Thank you working perfectly now
Hello,
The below node not working in Revit 2020