FlowItemBin messes up names when any item is missing windowtitle

FlowItemBin messes up names when any item is missing windowtitle

mischa_spelt
Advisor Advisor
69 Views
1 Reply
Message 1 of 2

FlowItemBin messes up names when any item is missing windowtitle

mischa_spelt
Advisor
Advisor

[ FlexSim 17.0.0 ]

There seems to be an undocumented feature in FlexSim 2017 which forces all items in the flow item bin template to have a windowtitle node, otherwise the first item without title will get an empty name and the windowtitles of all items below it are ignored.

Steps to reproduce:

  • Open the treeview window for MAIN:/project/exec/globals/FlowItemBin
  • Pick an item and copy it a few times
  • Remove the window title node on one of the copies, and give the other copies window titles that differ from their node names (below I named the nodes Circle, removed the windowtitle attribute for Circle2, and gave the remaining ones window titles Circle3, Circle4)

Figure 1.jpeg

  • Now select File -> New Model and open the model's Flow Item Bin.
  • Note that the item with the missing window title now has no name. In addition, the items following it are shown with the name of the node (Circle, Circle) and their respective window titles (Circle3, Circle4) are now ignored.

Figure 2.jpeg

Accepted solutions (1)
70 Views
1 Reply
Reply (1)
Message 2 of 2

Matthew_Gillespie
Autodesk
Autodesk
Accepted solution

We added windowtitles to the flowitems so that the items could be translated into other languages. I've updated the code so that it no longer assumes a windowtitle is on every flowitem.



Matthew Gillespie
FlexSim Software Developer

0 Likes