FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Query malfunction searching with != · Issue #9352 · IfcOpenShell/IfcOpenShell · GitHub

Query malfunction searching with != #9352

Description

Bug Description

Filtering elements works great, and is very useful specially for generating drawings.

I've noticed that in latest versions, setting a search like 'query:"Name"!=/Test/', is shown like this:

But if you save the filter and reload it, or if you paste directly the filter in a blank text window, then Bonsai converts the search into this:

Note that now, copying the search the result is 'query:"Name"="!=/Test/"' which does not work the same way.

This search strategy worked fine on v0.8.3, but now in v0.8.6 it fails.

It happens a similar malfunction with Global Id. When setting a search as '!1EoVXoReL0dg4SeymL1cmZ', is shown like this:

But again, if you save the filter and reload it, or if you paste directly the filter in a blank text window, then Bonsai converts the search into this:

The result is that when you try to update a drawing filter, containing any statement like above, it's neccesary to manually edit them before saving. Doing it once is not an issue, but if you have to edit dozens of drawings, then the issue is SEVERE.

Attachments

No response

Debug and Error Output

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL