Maptitude GISDK Help

GetRecordScope()

Summary

Gets the scope of a given record on the current layer.

 

Syntax

record_scope = GetRecordScope(string record_handle)

 

Argument

Contents

record_handle

A record handle for a record in the current layer

 

Returns

The scope of the record.

 

Notes

Example

//Open BDOCUMENTS\CALIPER\\< product name>\TUTORIAL\NElayers.wrkz

tutorial_folder = RunMacro("G30 Tutorial Folder")

wrkz = OpenWorkspace(tutorial_folder + "NElayers.wrkz")rh = LocateRecord("County|", "[County Name]", {"SUFFOLK MA"}, )

SetMapScope(, GetRecordScope(rh))

RedrawMap()

 

Error Codes

Error Type

Meaning

NotFound

There is no current layer; the current layer is not a point, line or area layer; the record handle does not correspond to a record on the current layer; or the record_handle is null.

 

See Also

Function

Summary

GetSetScope()

Gets the scope of the features in a selection set

GetLayerScope()

Gets the scope of a layer

 

 

©2025 Caliper Corporation www.caliper.com