Maptitude GISDK Help |
Gets the IDs of links that begin or end at a node.
link_list = GetNodeLinks(integer node_id)
Argument |
Contents |
id |
ID of a node |
An array of link IDs.
GetNodeLinks() works only when the current layer is a node (endpoint) layer in a map. The function does not work on a layer that has been added to the workspace only.
// This macro gets a list of all lines in and out of a point
SetLayer("Intersection")
id = RH2ID(LocateNearestRecord(ClickCoord(), 0.25))
link_list = GetNodeLinks(id)
Error Type |
Meaning |
Error |
The current layer is of the wrong type |
NotFound |
There is no node with this ID in the current layer |
Function |
Summary |
Returns the IDs of the two endpoints of a link |
|
Gets the name of the link layer associated with a node layer |
|
Get the name of the node layer associated with a link layer |
©2025 Caliper Corporation | www.caliper.com |