The End Point properties that are available through the Visual Logic Set Value editor are listed below.
These are properties that can have their values read as well as you being able to assign new values to them.
Sets the Halt Limit property to a value.
Example:
Set End Point 1.Halt Limit = 1000
To turn off the Halt Limit, set the value to -1.
Example:
Set End Point 1.Halt Limit = -1
When 1000 items have entered the End Point the simulation will stop.
Sets the image used for the End Point to any image located in the Graphics, Images menu option.
Example
Set End Point 1.Image = "BlueB"
Where BlueB exists as an image. Note the Inverted Commas around the name of the image.
Sets the Index number of the End Point to a value other than the default value.
Example
Set End Point 1.Index = 5
Allows the name of the End Point to be changed or accessed.
Example
Set End Point 1.Name = "Change the Name"
Changes the name to whatever is inside the inverted commas
Set Var1 = End Point 1.Name: sets a text Global Data Item to contain the name of the End Point.
This property can be utilized to add further cost details to your income statement.
Example
Set End 1. Other Costs = ss_Cost[2,3]: sets an additional cost of the End Point to the Internal Spreadsheet cell into the Finance Report.
This property can be utilized to add further revenue details to your income statement for an End Point.
Example
Set End 1. Other Revenue = 6000: sets an additional revenue of 6000 at the time of execution to the Finance Report.
The object property Results Collection Mode allows control over the collection of results for specific object through Visual Logic.
1 = Results Collection on
0 = Results Collection off
Example:
Set End Point 1.Results Collection Mode = 1
Sets whether the End Point is selected onscreen or not.
1 = Selected
0 = Not selected
Set End Point 1.Selected = 0
These are properties that you can only read the value of, you cannot change their value.
Returns the number of items that have entered the End Point and hence exited the simulation.
Example:
Set Var1 = End Point 1.Count Contents
Returns the number of incoming routes to the End Point.
Example:
Set Var1 = End Point 1.In Count: Sets Var1 to the number of routes that are connected to the End Point
Returns the number of Outgoing routes from the End Point.
Example:
Set Var1 = WorkComplete1.Out Count: Sets Var1 to the number of routes that are connected from the End Point.
Returns the number of Work Items that have attempted entry but that were not able to enter.
Example:
Set Var1 = End Point1.LostCount
Gets Simul8's internal Unique Number that identifies every object - you can be sure it is different for all objects. It never changes once an object is in a simulation.