Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

Workspace_GetWorkspaceFromWindow

  • Last UpdatedJul 18, 2023
  • 1 minute read

Returns the workspace ID to which the current window belongs.

Syntax

Workspace_GetWorkspaceFromWindow(INT nWindow [, INT nTrace])

nWindow

Handle of the window.

nTrace

Indicates the trace level to record if an error results. The default value is TRACE_Error. This is an optional parameter.

Return Value

Returns the workspace ID

Example

Workspace_GetWorkspaceFromWindow(WinNumber())

Workspace_GetContext, Workspace_GetEquipmentCluster, Workspace_GetPageNameWithRes, Workspace_GetResolution, Workspace_GetSelContext, Workspace_GetWindow, Workspace_GetWorkspaceFromName, Workspace_Init, Workspace_IsSelContext, Workspace_IsSystem_Initialised, Workspace_SelectEquipment, Workspace_SetSelContext, Workspace_ShowContent

See Also

Public Functions

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in