SetLinkCost

From Planimate Knowledge Base
Jump to: navigation, search

With this Routine Operation, you 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.

Default Link cost is computed as a relative value between all the Spatial Links, using their on-screen distance.

SetLinkCost  Parameters

$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.