Skip to content

bim.select_ifc_class: ALT+Click to unhide hidden objects before selecting #7780

@theoryshaw

Description

@theoryshaw

Feature Description

Currently, bim.select_ifc_class only selects objects that are already visible. If objects of the target IFC class are hidden (either via "Disable in Viewports" or the H-key viewport hide), they are silently skipped.

Proposed behaviour:

Add an ALT+Click modifier that, before selecting, clears both hide states for all matched objects:

  • obj.hide_viewport = False (global viewport disable, monitor icon in outliner)
  • obj.hide_set(False) (per-view-layer hide, H-key)

This follows the existing modifier pattern:

  • Click → select by IFC class
  • Shift+Click → also filter by Predefined Type
  • Alt+Click → also unhide hidden objects, then select

Use case:

When auditing or QA-checking a model, you may want to quickly surface all objects of a given class regardless of their current visibility state — e.g. "show me every IfcDoor in the file, even the ones I hid earlier."

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions