Select Minimum Label in Object

Quickly search all the work items in a simulation object to select one with the lowest numerical label value. It becomes the Current Work Item. The minimum value is also returned.

Parameters

  • The simulation object to search. Can also be text that is the name of a Simul8 Group of simulation objects.
  • The label that contains the numerical values
  • A data item to received the returned minimum value

If no work items are found Current Work Item is set to 0.
This is faster than writing Visual Logic that loops along the objects's work items selecting each and checking label values.

See Also