question

Patrick Cloutier avatar image
0 Likes"
Patrick Cloutier asked Matthew Gillespie commented

How to write this statement in dot syntax

I'm still having problem with how to write dot syntax statements and I find the user manual of little help in some cases.

For example, this codes works but how would I write line 12 using dot syntax ?

FlexSim 17.1.4
dot syntax
capture.png (21.6 KiB)
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
2 Likes"
Matthew Gillespie answered Matthew Gillespie commented
if(place.subnodes[i].name == "Plateau") place.subnodes[i].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.

Matthew Gillespie avatar image Matthew Gillespie ♦♦ commented ·

You'll probably also want to decrement i after deleting a node or you'll skip over the next node.

0 Likes 0 ·