question

Stan Davis avatar image
0 Likes"
Stan Davis asked Stan Davis commented

Destroy slot resetLabel Nodes

With 'slotLabels' nodes destroyed like this..

    1. slot.labels[“SKU”].destroy();

How does one access and destroy 'resetLabels' nodes that are created using function_s ??...

    1. treenode slot = SO_Rack.bays[bay].levels[level].slots[1].as(treenode);
    2. function_s(slot, "paintLabel", "labelName", labelValue, 1);

Thanks - Stan

FlexSim 22.2.0
labelsdestroy object
5 |100000

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

1 Answer

Matthew Gillespie avatar image
0 Likes"
Matthew Gillespie answered Stan Davis commented
  1. treenode resetLabels = slot.find("resetLabels");
  2. resetLabels.find("Type").destroy();
· 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.