Need help resolving the an error when using the
“Material to CSV tool”
It returns the following error:
IronPython Traceback:
Traceback (most recent call last):
File "C:\Users\studi\AppData\Roaming\pyRevit\Extensions\pySSG.extension\pySSG.tab\Materials.Panel\Create.pulldown\Materials to CSV.pushbutton\script.py", line 225, in <module>
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)