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)