Skip to main content
Solved

Attribute filter by filename contains 'text'

  • August 9, 2024
  • 2 replies
  • 314 views

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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

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+44
  • Influencer
  • August 9, 2024

You can use the transformer Tester,TestFilter or StringSearcher.

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