pyApex
pyApex copied to clipboard
Error when exporting material to CSV file
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
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)