Category Pro/INTRALINK, Object ProObj

Function ProObjRenamedInWSSessionSync


DEPRECATED: Since Creo 1
SUPERSEDED BY: No successor will be provided.
Description

NOTE: This function is deprecated. Pro/INTRALINK 3.4 is not supported.

Renames the object in Creo Parametric memory space when an object is renamed in Pro/Intralink's Workspace from "objOldName" to "objNewName". If the object is an instance then it's generic object's name "genericName" must be passed in.
Synopsis
#include <ProWorkspace.h>
ProErrorProObjRenamedInWSSessionSync(
ProFileName objOldName
/* (In)
The original name of the object.
*/
ProFileName objNewName
/* (In)
The new name to which object has to be renamed to.
*/
ProFileName genericName
/* (In)
name of the generic if the object being renamed is an instance or NULL.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully updated the name.
PRO_TK_INVALID_NAMEOne or more of the input name is not correct. They are null, have null or unsupported extensions or all three do not have the same extension.
PRO_TK_GENERAL_ERRORAnother problem occurred and the function failed.

Manual References:

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