Category Windchill servers, Object ProServer

Function ProServerAliasedURLToModelName


Description
Gets model name for a given aliased url.
Replacement in Object TOOLKIT: pfcBaseSession::GetAliasFromAliasedUrl
pfcBaseSession::GetModelNameFromAliasedUrl
Synopsis
#include <ProWTUtils.h>
ProErrorProServerAliasedURLToModelName(
wchar_t* aliased_url
/* (In)
The aliased url to the model.
*/
wchar_t** alias
/* (Out)
an alias of the server where the model resides. Free this string using ProWstringFree().
*/
wchar_t** model_name
/* (Out)
model name for a given aliased url. Free this string using ProWstringFree().
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more inputs was invalid.
PRO_TK_E_NOT_FOUNDThe object was not found.
PRO_TK_GENERAL_ERRORIf any other error occures.

Manual References:

  1. Data Management: Windchill Operations: Utility APIs
  2. Data Management: Windchill Operations: Utility APIs