question

Jon Abbott avatar image
0 Likes"
Jon Abbott asked api answered

How to delete all labels on a token using FlexScript?

I'm trying to delete all labels on a token using FlexScript. I've tried this example but it didn't seem to work. Is there another way to delete all labels on a token using FlexScript? Thanks in advance for your help.

FlexSim 20.0.5
labelstokenflexsim 20.0.5delete
· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Jon Abbott commented
  1. token.as(treenode).subnodes["labels"].subnodes.clear();
This works for a custom code.
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

api avatar image
0 Likes"
api answered
Closing outdated question
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.