GDurand Posted July 11, 2013 Share Posted July 11, 2013 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 More sharing options...
tulach Posted July 12, 2013 Share Posted July 12, 2013 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 More sharing options...
GDurand Posted July 12, 2013 Author Share Posted July 12, 2013 Thank you for your help tulach . I also find an expression that is work well with my model. It is : ModelEntity.DestinationNode.Is.Input@MyServer Link to comment Share on other sites More sharing options...
tulach Posted July 12, 2013 Share Posted July 12, 2013 Yes, thats ok if you want to check if entity is on its destination. Link to comment Share on other sites More sharing options...
Recommended Posts