ScrNetGetLength

Computes the shortest length between a specified source and sink.

UI Command:   None.
Syntax:   Dim length = obj.ScrNetGetLength(<netName>, <sourceName>, <sinkName>)
Parameters:  

BSTR netName

BSTR sourceName

BSTR sinkName

Return Value:  

DOUBLE length (returns 0.0 if net, source, or sink does not exist)

VB Example:  

Dim len = obj.ScrNetGetLength("HOT_INS_DIS", "D1:HOT_INS_DIS:292", "P1:HOT_INS_DIS:E4")

IPY Example:  

oDoc.ScrNetGetLength('HOT_INS_DIS', 'D1:HOT_INS_DIS:292', 'P1:HOT_INS_DIS:E4')