# Model Tree Search Revisited

**URL:** <https://forum.techsoft3d.com/t/model-tree-search-revisited/886>\
**Category:** HOOPS Visualize Web\
**Tags:** code, webviewer, learn\
**Created:** [July 7, 2022, 5:51pm UTC](https://forum.techsoft3d.com/t/model-tree-search-revisited/886 "2022-07-07T17:51:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![guido](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.techsoft3d.com/guido/32/115_2.png) [@guido](https://forum.techsoft3d.com/u/guido)\
**Post date:** [July 7, 2022, 5:51pm UTC](https://forum.techsoft3d.com/t/model-tree-search-revisited/886/1 "2022-07-07T17:51:36Z")

</div>

![image](https://us1.discourse-cdn.com/flex020/uploads/techsoft3d/original/1X/bfdf5627b6f33d5a3dd8f351f8538720651aed23.png)

For an upcoming BIM related demo, we vastly enhanced the Advanced Model Tree search class we released [last year](https://forum.techsoft3d.com/t/advanced-model-tree-search/480/4). It now supports subfilters, which makes it possible to define more complex searches combining “and/or” conditions in a single search. In addition, a search can now be turned into a **SQuery** which can be selected from a table, activated with a click of a button and easily serialized. **Queries** can optionally become **Properties** which are evaluated whenever the user selects a node.

We have separated the UI from the search classes itself which allows you to develop your own UI on top of the core search functionality. The libraries as well as the source-code and documentation is now available in a public GitHub project. Please check it out here:

[SQuery Github Project](https://github.com/techsoft3d/ts3d-hc-squery)

As always, if you have any questions or comments, found a bug or have suggestions for additional features or improvements, please don’t hesitate to post about it here in the forum.
