Select Work Item with Label value in Object

Quickly search all the work items in a simulation object to find one with a specific numerical label value. If found select that work item as the Current Work Item.

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
  • The numerical value to find

If no match is found the 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