Skip to content

[Bug]: Color Elements by Parameter #2856

@Mesvale

Description

@Mesvale

✈ Pre-Flight checks

  • I don't have SentinelOne antivirus installed (see above for the solution)
  • I have searched in the issues (open and closed) but couldn't find a similar issue
  • I have searched in the pyRevit Forum for similar issues
  • I already followed the installation troubleshooting guide thoroughly
  • I am using the latest pyRevit Version

🐞 Describe the bug

Color Splasher tool generates repeating error whenever instances are selected in a view. There are two instances of the error that occur.

⌨ Error/Debug Message

Color Elements by Parameter

Unhandled exception has occurred in a component in your application. If you click Continue, the application will ignore this error and attempt to continue.

name 'DataTable' is not defined.

_______________________________________________________________________

Color Elements by Parameter

Unhandled exception has occurred in a component in your application. If you click Continue, the application will ignore this error and attempt to continue 

name 'external_event_trace' is not defined.

♻️ To Reproduce

  1. Go to pyRevit
  2. Click on Color Splasher
  3. Select instance parameter (ex. Walls)
  4. See error

⏲️ Expected behavior

I have seen tutorials where I follow the same steps in a view to color every instance of selected family, and a range of colors appears and lets you do an array of things to color code model.

🖥️ Hardware and Software Setup (please complete the following information)

PID: 31980 | 2024.3.3 | Version: 24.3.30.11 | Build: 20250516_1515(x64) | Language: 0 | Path: "C:\Program Files\Autodesk\Revit 2024"

Microsoft Windows 10 [Version 10.0.26100]

Latest Installed .Net Framework: 8.0.11

pyRevit CLI v5.2.0.25181+1332.ad837f1fc6ac89979e64710991eb6d846b63c109

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugBug that stops user from using the tool or a major portion of pyRevit functionality [class]HeisenbugBug that is very hard to find [class]

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions