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: and here: LineStyles As always, all help is much appreciated.