pyApex icon indicating copy to clipboard operation
pyApex copied to clipboard

Error when exporting material to CSV file

Open virtdesign17 opened this issue 10 months ago • 0 comments

Hi i was trying to run the Export materials to CSV file and received this error, can anyone help with this?

IronPython Traceback: Traceback (most recent call last): File "E:\PyRevit\pySSG.extension\pySSG.tab\Materials.Panel\Create.pulldown\Materials to CSV.pushbutton\script.py", line 225, in TypeError: expected int, got str

Script Executor Traceback: Microsoft.Scripting.ArgumentTypeException: expected int, got str 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)

virtdesign17 avatar May 04 '24 09:05 virtdesign17