Skip to content

[Bug]: Colorsplasher - Not creating viewfilters for a shared parameter #2466

@dsellam

Description

@dsellam

✈ 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

Hello, Trying to create View filters on Masses , with values of a shared parameters (text values), I have the following error message :

Error message :
"Viewfilters were not created. The selected parameter is not exposed by Revit and rules cannot be created"

image

⌨ Error/Debug Message

No response

♻️ To Reproduce

No response

⏲️ Expected behavior

View filters created in the view settings

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

==> Registered Clones (full git repos)
==> Registered Clones (deployed from archive/image)
==> Attachments
Unknown | Product: "Autodesk Revit 2025" | Manifest: "C:\ProgramData\Autodesk\Revit\Addins\2025\pyRevit.addin"
Unknown | Product: "Autodesk Revit 2024" | Manifest: "C:\ProgramData\Autodesk\Revit\Addins\2024\pyRevit.addin"
Unknown | Product: "2023.1.1" | Manifest: "C:\ProgramData\Autodesk\Revit\Addins\2023\pyRevit.addin"
==> Installed Extensions
(private)
==> Extension Sources - Default
https://github.com/pyrevitlabs/pyRevit/raw/master/extensions/extensions.json
==> Extension Sources - Additional
==> Installed Revits
Autodesk Revit 2025 | Version: 25.0.2.419 | Build: 20240307_1300(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2025\"
Autodesk Revit 2024 | Version: 24.3.0.13 | Build: 20240912_1515(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2024\"
2023.1.1 | Version: 23.1.10.4 | Build: 20221122_1550(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2023\"
==> Running Revit Instances
Error: La référence d'objet n'est pas définie à une instance d'un objet.
Run with "--debug" option to see debug messages

Additional context

I was wondering if this could come from specific caracters in the filter values ? That's why I copied paste the parameter window.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugBug that stops user from using the tool or a major portion of pyRevit functionality [class]ToolsIssues related to pyRevit commands [subsystem]

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions