Skip to content

Instantly share code, notes, and snippets.

@rondreas
Created June 10, 2019 14:04
Show Gist options
  • Select an option

  • Save rondreas/8b60e690c7ff776d6ddfcd1bc5ea3039 to your computer and use it in GitHub Desktop.

Select an option

Save rondreas/8b60e690c7ff776d6ddfcd1bc5ea3039 to your computer and use it in GitHub Desktop.
Purge tags for selected items
#python
"""
Remove all tags for selected items.
In Modo run:
> @PurgeTags.py
"""
import modo
def main():
for item in modo.Scene().selected:
for tag in item.getTags(values=False):
item.setTag(tag, None)
if __name__ == '__main__':
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment