Jump to content

Get the current node destination from a sequence table


GDurand
 Share

Recommended Posts

Hello,


I specified a simple sequence of destinations for an entity with a sequence table and I would like to change the symbol of a subclass server depending on the current node destination of this sequence. I tried to make a process with a decide step but I can not find the good expression to get the current node destination.

I am new with Simio so I wonder if it is a good way to proceed or if there is a better one?


Best regards,

Link to comment
Share on other sites

It is ModelEntity.Sequence.CurrentJobStep expression which will return what you want to know.

It points at the row in sequence table, so you can get it this way.


You can even change your entity sequence by using SetRow step for sequence table.

For doing this, you must ensure, that you have your entity as an associated object of the process and than you can SetRow to anything.

Link to comment
Share on other sites

×
×
  • Create New...