kbruxvoort / SSG.extension

Southwest Solutions Group pyrevit extension
MIT License
8 stars 2 forks source link

Sheets by room error #1

Open dsellam opened 2 years ago

dsellam commented 2 years ago

Hi !

I would like to use Sheets by room tool in pyRevit pySSG, but an error message is appearing when clicking on the tool, after selecting the titleblock

IronPython Traceback: Traceback (most recent call last): File " ........ \pySSG.extension\pySSG.tab\Project Planning.Panel\Sheets.pushbutton\script.py", line 57, in AttributeError: 'NoneType' object has no attribute 'AsString'

Script Executor Traceback: System.MissingMemberException: 'NoneType' object has no attribute 'AsString' à Microsoft.Scripting.Interpreter.ThrowInstruction.Run(InterpretedFrame frame) à Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame) à Microsoft.Scripting.Interpreter.LightLambda.Run3[T0,T1,T2,TRet](T0 arg0, T1 arg1, T2 arg2) à System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1) à Microsoft.Scripting.Interpreter.DynamicInstruction`3.Run(InterpretedFrame frame) à Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame) à Microsoft.Scripting.Interpreter.LightLambda.Run2[T0,T1,TRet](T0 arg0, T1 arg1) à IronPython.Compiler.PythonScriptCode.RunWorker(CodeContext ctx) à PyRevitLabs.PyRevit.Runtime.IronPythonEngine.Execute(ScriptRuntime& runtime)

I think that this may comes from the fact that the Revit interface is in French, and the Parameters are not called in an international way.