Click or drag to resize

GenericSPDescribeCurrentRoute Method

Produces a route description from the current open item. It assumes that "LineFilter" has been set up to determine how to locate a road item at a given point - usually an "Exists". It also assumes that the overlay, if not composed of links and nodes, at least breaks each line item at each junction (so that _length# works on each segment). And that each ID is unique.

Namespace:  Cadcorp.GFB.CadcorpSP
Assembly:  Cadcorp.GFB.GenericStoredProcedures (in Cadcorp.GFB.GenericStoredProcedures.dll) Version: 9.0.2618.0 (9.0.2618.0)
Syntax
public virtual Route DescribeCurrentRoute(
	string NameAttribute
)

Parameters

NameAttribute
Type: SystemString
The attribute that provides the road names.

Return Value

Type: Route
An array of route segments.
Remarks
Short unnamed segments in the middle of a named road are subsumed into the named parts.
See Also