SetLinkCost

From Planimate Knowledge Base
Revision as of 12:20, 6 March 2009 by Tony.Griffith (talk | contribs) (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 ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.