I need to search the part from the creo using Web.link . once i start the search i will look into the ws if it is not there it needs to goto windchill WS or CS and then check out and download into the creo location.
function ToGetWSName()
{
var mGlob = pfcCreate("MpfcCOMGlobal");
var oSession = mGlob.GetProESession();
var CurServer = oSession.GetActiveServer() ;
var ActServer = CurServer.Alias ;
var ActWorkspace = CurServer.ActiveWorkspace ;
ws_path = "wtws://"+ActServer+"/"+ActWorkspace+"/" ;
return ws_path ;
}
this is the code i used to get the WS . can any one help me to search from CS and checkout and dowmload into Creo??