Category Pro/INTRALINK, Object ProWorkspace

Function ProWorkspaceRegister


DEPRECATED: Since Creo 1
SUPERSEDED BY: ProServerRegister
Description

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

Registers a Workspace in Creo Parametric. Only one is allowed at a time, so if one is already registered, the new one will substitute the current one, but only if there are no objects in session (see error status descriptions).
Replacement in Object TOOLKIT: pfcBaseSession::SetCurrentWS
Synopsis
#include <ProWorkspace.h>
ProErrorProWorkspaceRegister(
ProName WorkspaceName
/* (In)
The name of the Workspace
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully registered the Workspace.
PRO_TK_BAD_INPUTSThe argument is invalid.
PRO_TK_E_BUSYWhen another workspace is already registered, cannot de-register because there are objects in Creo Parametric session.

Manual References:

  1. Technical Summary of Changes for Creo 4.0 F000: Support for Pro/INTRALINK 3.4 Functions