Custom nodesearch matchers?

   1072   0   0
User Avatar
Member
339 posts
Joined: June 2013
Online
I was doing scene crawling scripts last year and created my own filters to basically gather all nodes in a scene and filter them out based on a list comprehension with a condition calling a function on each node in the list. So nodesearch module is very welcomed.
https://www.sidefx.com/docs/houdini/hom/nodesearch.html [www.sidefx.com]
But is it possible to create one's own nodesearch matcher, were we pass a function that controls the validation? If I understand correctly there would be advantages of having a matcher generate the matching nodes list versus just building up a huge list with everything in the scene and then filter it, no?


Cheers
Edited by probiner - Nov. 26, 2019 19:36:11
  • Quick Links