Hi Gavin,
Could you please provide a little help. I’m trying to rename linetsyles adapting your script and getting an error with ‘Element.Setname’ node. Testing with your script gives the same error / warning. BTW - Good work on the crumple package. if I hadn’t found this post I couldn’t have known about it.
Hrm it works on a test file for me, although for some reason your list structure looks different… which Revit version are you using? Pre-2020 I can’t guarantee the performance of my nodes unfortunately as 2020 is my build I work to and lowest I have installed typically.
First things, first. Thanks for the quick response Gavin it’s much appreciated.
I should have stated I was working in Revit 2020.2.8.
Just tried the script I adapted in Revit 2021 and it’s working fine ,which is good. The issue is obviously down to the Revit version so I’ll live with it as most of our work is now 2022.
BTW - Change in name is due to re-branding and as this project is a one off I can live with it.
thanks again for the advise and the cool stuff in your dynamo package
You’re welcome! Odd that it’s behaving differently in other builds… ah well I’ll add it to my list to look into. Unfortunately my time is pretty scarce so I only tend to maintain Crumple against one build, at least for now. I’ll probably jump to 2022 once I move my BIM Guru content to that build also.