Skip to main content
Solved

Attribute filter by filename contains 'text'


cpedron
Contributor
Forum|alt.badge.img+2

I have a glut of features of multiple types coming in from a handful of .ifc files. I am attempting to write a transformer as a proof of concept that will allow me to filter the features (currently 174000+) to different writers based on a small difference within their source filenames. 
Basically what I want to know is if it is possible to use the text editor to create an “if filename contains text (abc)” filter. If not, what would be the best way to filter for something like this.  

Best answer by tomfriedl

You can use the transformer Tester,TestFilter or StringSearcher.

View original
Did this help you find an answer to your question?

2 replies

tomfriedl
Contributor
Forum|alt.badge.img+13
  • Contributor
  • Best Answer
  • August 9, 2024

You can use the transformer Tester,TestFilter or StringSearcher.


liamfez
Influencer
Forum|alt.badge.img+34
  • Influencer
  • August 9, 2024
tomfriedl wrote:

You can use the transformer Tester,TestFilter or StringSearcher.

Agreeing with @tomfriedl, TestFilter seems to be what you are looking for.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings