GetLinkLayer()

Summary

Gets the name of the link layer associated with a node layer.

Syntax

link_layer = GetLinkLayer(string layer_name)

Argument Contents
layer_name The node layer name

Returns

The string that is the name of the link layer.

Notes

  • An example of a node layer is a subway station layer. The link layer is the associated subway line layer.

Error Codes

Error Type Meaning
Error The node layer is not a geographic node layer
NotFound The link layer is not in the workspace

See Also

Function Summary
GetNodeLayer() Gets the name of the node layer associated with a link layer