Help a beginer with a script

Hi
I would like to create a script that deletes all tags that lacks data, (that show a ? in tag Tag)

There might be a specific reason why you are wanting a script, but pyRevit does already have a tool that achieves this.

Some stuff to try:

  1. Get all the tags
  2. Get each tag’s displayed value
  3. Filter out any with a string that is not equal to an empty string or a ?.
  4. Delete all remaining tags.

Thanks :smiley:

Thanks