dnenov / pyChilizer

GNU General Public License v3.0
20 stars 8 forks source link

List Wall Error Revit 2023 #61

Open virtdesign17 opened 10 months ago

virtdesign17 commented 10 months ago

Hi I'm receiving this error when attempting to list all walls. Any help would-be great.



ERROR [pyrevit.revit.db.transaction] Error in Transaction Context. Rolling back changes. | <type 'exceptions.Exception'>:A valid point must not be father then 10 miles (approx. 16 km) from the origin. Parameter name: position

IronPython Traceback: Traceback (most recent call last): File "D:\PyRevitExtensions\pyChilizer.extension\pyChilizer.tab\Template.panel\template2.stack\List Walls.pushbutton\script.py", line 123, in File "D:\PyRevitExtensions\pyChilizer.extension\pyChilizer.tab\Template.panel\template2.stack\List Walls.pushbutton\script.py", line 24, in label_placer Exception: A valid point must not be father then 10 miles (approx. 16 km) from the origin. Parameter name: position

Script Executor Traceback: Autodesk.Revit.Exceptions.ArgumentException: A valid point must not be father then 10 miles (approx. 16 km) from the origin. Parameter name: position at Microsoft.Scripting.Interpreter.ThrowInstruction.Run(InterpretedFrame frame) at Microsoft.Scripting.Interpreter.Interpreter.HandleException(InterpretedFrame frame, Exception exception) 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)