pyRevit icon indicating copy to clipboard operation
pyRevit copied to clipboard

Color Splasher bug

Open Thomas84 opened this issue 1 year ago • 4 comments

🐞 Describe the bug

I have tested the Color Splasher tool. The category dropdown are in german, but they don't display umlauts (äöü). Selecting a category creates an error. The buttons at the bottom don't work at all The button for Reset All Colors is too small

♻️ To Reproduce

Steps to reproduce the behavior:

  1. Open Revit 2024.2 German version (English version works in general)
  2. Golden nugget arch example project
  3. Go to pyRevit Color Splasher
  4. Select category wall (Wände)

Bug when using create view Filters (with 2024.2 English): image Maybe you can disable the Create View Filters button, if a double category is selected?

⏲️ Expected behavior

no error

🖼 Screenshots of the issue

image

************** Ausnahmetext **************
IronPython.Runtime.UnboundNameException: name 'DataTable' is not defined
   bei IronPython.Runtime.Operations.PythonOps.GetVariable(CodeContext context, String name, Boolean isGlobal, Boolean lightThrow)
   bei IronPython.Compiler.LookupGlobalInstruction.Run(InterpretedFrame frame)
   bei Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
   bei Microsoft.Scripting.Interpreter.LightLambda.Run4[T0,T1,T2,T3,TRet](T0 arg0, T1 arg1, T2 arg2, T3 arg3)
   bei IronPython.Compiler.PythonCallTargets.OriginalCallTarget3(PythonFunction function, Object arg0, Object arg1, Object arg2)
   bei System.Dynamic.UpdateDelegates.UpdateAndExecute5[T0,T1,T2,T3,T4,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4)
   bei CallSite.Target(Closure , CallSite , Object , Object , EventArgs )
   bei System.Dynamic.UpdateDelegates.UpdateAndExecute3[T0,T1,T2,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2)
   bei _Scripting_(Object[] , Object , EventArgs )
   bei System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
   bei System.Windows.Forms.ComboBox.WmReflectCommand(Message& m)
   bei System.Windows.Forms.ComboBox.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

image

image

🖥️ Hardware and Software Setup:

  • OS: win10
  • pyRevit Version 4.8.14.23353+1222
pyChilizer | Type: UIExtension | Repo: "" | Installed: "C:\Users\thomas.vogt\AppData\Roaming\pyRevit\Extensions\pyChilizer.extension"
PyRevitMEP | Type: UIExtension | Repo: "" | Installed: "C:\Users\thomas.vogt\AppData\Roaming\pyRevit\Extensions\PyRevitMEP.extension"
PyRevitPlus | Type: UIExtension | Repo: "https://github.com/gtalarico/pyrevitplus.git" | Installed: "C:\Users\thomas.vogt\AppData\Roaming\pyRevit\Extensions\PyRevitPlus.extension"
pyRevitTutor | Type: UIExtension | Repo: "" | Installed: "C:\Users\thomas.vogt\AppData\Roaming\pyRevit\Extensions\pyRevitTutor.extension"
pySSG | Type: UIExtension | Repo: "https://github.com/kbruxvoort/SSG.extension.git" | Installed: "C:\Users\thomas.vogt\AppData\Roaming\pyRevit\Extensions\pySSG.extension"
pyStructure | Type: UIExtension | Repo: "" | Installed: "C:\Users\thomas.vogt\AppData\Roaming\pyRevit\Extensions\pyStructure.extension"
pyTiBa | Type: UIExtension | Repo: "https://github.com/tillbaum/pytiba.git" | Installed: "C:\Users\thomas.vogt\AppData\Roaming\pyRevit\Extensions\pyTiBa.extension"
Revitron | Type: LibraryExtension | Repo: "https://github.com/revitron/revitron.git" | Installed: "C:\Users\thomas.vogt\AppData\Roaming\pyRevit\Extensions\Revitron.lib"
Revitron UI | Type: UIExtension | Repo: "https://github.com/revitron/revitron-ui.git" | Installed: "C:\Users\thomas.vogt\AppData\Roaming\pyRevit\Extensions\Revitron UI.extension"
==> Default Extension Search Path
C:\Users\thomas.vogt\AppData\Roaming\pyRevit\Extensions
==> Extension Search Paths
C:\Users\thomas.vogt\AppData\Roaming\pyRevit\Extensions
C:\Users\thomas.vogt\AppData\Roaming\pyRevitCustomExtensions
==> Extension Sources - Default
https://github.com/eirannejad/pyRevit/raw/master/extensions/extensions.json
==> Extension Sources - Additional
==> Installed Revits
Autodesk Revit 2024 | Version: 24.2.0.63 | Build: 20231029_1515(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2024\"
Autodesk Revit 2023 | Version: 23.1.30.97 | Build: 20230828_1515(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2023\"
Autodesk Revit 2022 | Version: 22.1.50.17 | Build: 20230915_1530(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2022\"
Autodesk Revit 2021 | Version: 21.1.90.15 | Build: 20230907_1515(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2021\"
Autodesk Revit 2020 | Version: 20.2.90.12 | Build: 20220517_1515(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2020\"
Autodesk Revit 2019 | Version: 19.2.60.3 | Build: 20220224_1700(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2019\"
2018.3.3 Security Fix | Version: 18.3.3.18 | Build: 20190510_1515(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2018\"

Thomas84 avatar Dec 19 '23 21:12 Thomas84