SetLinkCost: Difference between revisions

From Planimate Knowledge Base
Jump to navigation Jump to search
m (New page: SetLinkCost Sets the Link Cost of a spatial link. The Link Cost assists Planimate to decide which link to take where options exist for the item to transit to the Target. Link cost is ...)
(No difference)

Revision as of 12:20, 6 March 2009

SetLinkCost

Sets the Link Cost of a spatial link.

The Link Cost assists Planimate to decide which link to take where options exist for the item to transit to the Target.

Link cost is normally computed by Planimate using the link's on screen distance.

SetLinkCost($1,$2,$3) Parameters are:

$1 = From Object $2 = To Object $3 = Cost

After setting the Spatial Link Cost with this operation, you then need to perform the Spatial Link Cache Flush operation, so that the new Cost information will be used in the Model Run.