Category Pro/INTRALINK, Object ProCurrent

Function ProCurrentWorkspaceGet


DEPRECATED: Since Creo 1
SUPERSEDED BY: ProServerWorkspaceGet,ProServerWorkspacesCollect
Description

NOTE: This function is deprecated. Pro/INTRALINK 3.4 is not supported. Please use Pro/INTRALINK 10.0 function ProServerWorkspaceGet() or ProServerWorkspacesCollect() instead.

Returns the name of the Workspace currently registered in Creo Parametric.
Replacement in Object TOOLKIT: pfcBaseSession::GetCurrentWS
Synopsis
#include <ProWorkspace.h>
ProErrorProCurrentWorkspaceGet(
ProName rCurrentWorkspace
/* (Out)
The returned name
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully returned the name.
PRO_TK_E_NOT_FOUNDThere was no Workspace registered.

Manual References:

  1. Technical Summary of Changes for Creo 11.0.0.0: Functions superseded from Creo 1.0 to Creo 11.0

Sample Code References:

  1. pt_examples ( TestNotify.c )
  2. pt_examples ( TestNotify.c )