EF Tools - Purge line patterns

I am trying to Purge Line Patterns, but I keep getting this error.

IronPython Traceback:
Traceback (most recent call last):
File “C:\Users*********\AppData\Roaming\pyRevit\Extensions\EF-Tools.extension\EF_Tools.tab\Maintenance.panel\col1.stack\Purge.pulldown\PurgeLinePatterns.pushbutton\script.py”, line 263, in
NameError: name ‘overrides’ is not defined

Script Executor Traceback:
IronPython.Runtime.UnboundNameException: name ‘overrides’ is not defined
at IronPython.Runtime.Operations.PythonOps.GetVariable(CodeContext context, String name, Boolean isGlobal, Boolean lightThrow)
at IronPython.Compiler.LookupGlobalInstruction.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.LightLambda.Run2[T0,T1,TRet](T0 arg0, T1 arg1)
at IronPython.Compiler.PythonScriptCode.RunWorker(CodeContext ctx)
at PyRevitLabs.PyRevit.Runtime.IronPythonEngine.Execute(ScriptRuntime& runtime)

@ErikFrits :point_up:
That would be yours

1 Like

Thanks, I will check it later.
Might have removed something by accident recently :man_shrugging:

1 Like

Thanks for bringing it up.
I’ve accidentally uploaded this one on the GitHub, this tool wasn’t finished yet.

I’ve completely forgotten about it to be honest…

I will remove it from EF-Tools shortly.

2 Likes

Not a problem Erik. Thanks to both of you for a quick response.

1 Like