Any one used this? it doesnt work for me

it works with the material type when I passed the parent of the geometry instead of the root Node.
but the filter type of the outliner not working yet.

would you like to join me for a zoom meeting to explore my code?