Determines if there is a connecting line between two markers. Will return true if a connecting lines exists, false if one does not exist.
|string||yes||Marker at one end of connecting line.|
|string||yes||Marker at other end of connecting line.|
Returns true if there is a connecting line between the two markers or false if there is not.
// Determine if there is a connecting line
// between two markers.
// First set up some marker connections on the head
setMarkerConnection "LFHD" "RFHD";
setMarkerConnection "RFHD" "RBHD";
// Demonstrate the existence of the marker connection we just made.
$hasLine = `getMarkerConnection "LFHD" "RFHD"`;
print $hasLine; // Should be true
// Demonstrate the lack of a connection
$hasLine = `getMarkerConnection "LBHD" "RFHD"`;
print $hasLine; // Should be false