Field-Map Scripting

4.4.1.28 OpenPlot

OpenPlot function


Prototype:

function OpenPlot (const ID: integer): boolean;

Description:

Makes Field-Map switch from the active plot to a plot with the given ID. The specified plot becomes active instead.

Syntax:

variable := Project.OpenPlot(ID);


Part

Description


variable

A variable declared as boolean


Project

A reference to the Field-Map project as defined in Field-Map Project Manager


ID

A reference to the Field-Map plot as defined in Field-Map Project Manager

Return value:

true / false



See also:

Name; DatabaseType; Version; UserLoginFullName; UserLoginName; UserGroupName; LayerCount; Layer; GetMapLayerListAsXML; ActiveLayer; ActiveLayerName; LayerAtIndex; SysTab_LayerList; SysTab_AttributeList; GetMapLayerListAsXML; ApplyMapLayerList; LoadMapLayerListFromXML; SaveMapLayerListToXML; MapLayerListVisible; SendDataToAnotherRunningProject; GetResourceString; AnotherProjectIsRunning; OpenAnotherProject; BringProjectToFront;SendDataToAnotherRunningProject; OpenInactiveLayers; CloseInactiveLayers; OpenPlot; OpenPlotUsingDataCollector; RunPolyshape; AddLayerWrapper; ScriptsEnabled; OnValidateScriptsEnabled; OnChangeScriptsEnabled; OnChangeTimeStampEnabled; DisableScripts; EnableScripts; RunSynchronization; RunSynchronizationExt; AdjustOnlineCalliperConnection


Example