Fixing linestyle types using SetParameterByName

Hi all, I’ve been trying to take non-standard linetypes in our Revit model and automate switching them to our office standard line types (in the attached example below, taking the “Thin Lines” style and switching it to the “Draft” linestyle). I’ve consulted with the posts here: http://dynamobim.org/forums/topic/change-line-style-name/ and here: http://dynamobim.org/forums/topic/set-line-style-of-detail-line-using-element-setparameterbyname/ LineStyles As always, all help is much appreciated.