Maptitude GISDK Help

GetNodeLinks()

Summary

Gets the IDs of links that begin or end at a node.

 

Syntax

link_list = GetNodeLinks(integer node_id)

 

Argument

Contents

id

ID of a node

 

Returns

An array of link IDs.

 

Notes

Example

// 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 Codes

Error Type

Meaning

Error

The current layer is of the wrong type

NotFound

There is no node with this ID in the current layer

 

See Also

Function

Summary

GetEndpoints()

Returns the IDs of the two endpoints of a link

GetLinkLayer()

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

GetNodeLayer()

Get the name of the node layer associated with a link layer

 

 

©2025 Caliper Corporation www.caliper.com