Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
[ FlexSim 18.0.4 ]
I have this code that returns <no path>:
Object box = model().find("Tools/FlowItemBin/Box/Box"); treenode itemBehaviour = box.attrs.behaviour; return itemBehaviour;
But this code returns "It exists":
Object box = model().find("Tools/FlowItemBin/Box/Box"); treenode itemBehaviour = box.attrs.behaviour; if (itemBehaviour) return "It exists"; else return "It does not exist";
It returns "It does not exist" if I change the second row to:
treenode itemBehaviour = box.find(">behaviour");
Why does this happen? Is it because those are hashed nodes?
Solved! Go to Solution.