If you want to clean your script up visually, just hit CTRL + L.
It may not look amazing, but it will certainly be easier to follow than what it looks like now.
Can you do that and repost a screenshot?
Not sure why you are mapping so many things. I think it is probably easiert to just boolean mask your way to a filtered list. I would have done it like this:
I couldn’t open your script. It told me it was corrupted.
Other than that, I think you may generally run into issues trying to change the names of graphicstyles in Revit. Apparently it isn’t supported?
Good evening, I would like to know what my code is missing to rename line styles.
I attach the image so you can help me.
Translated by moderators.
Original text below.
Buenas noches quisiera saber que le falta a mi código para renombrar estilos de líneas.
Adjunto la imagen para que me puedan ayudar.
Hey community small dynamo question from someone just getting my feet wet.
How would someone rename the line styles and annotation symbols in their project?
Example: “xxx – Thin Lines” –> “Thin Lines – xxx”
I have been able to do this with family names, but having some issues with line styles and annotation symbols.
Really appreciate any help.