SSG extension - material to csv error

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)

Pinging @kbruxvoort here since he’s the author of the extension :wink:

As a matter of fact, there’s already an open issue on his github

Thanks for bringing my attention to this @sanzoghenzo.

@ivanzep, I haven’t had much time to update the extension recently. I will look into it and handle the issue in github.

1 Like

Thank you really appreciate it, It is a great tool! Looking forward to it