Quantcast
Channel: PTC Community : Unanswered Discussions - Windchill
Viewing all articles
Browse latest Browse all 3592

Accessing WS and CS to find the part

$
0
0

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??


Viewing all articles
Browse latest Browse all 3592

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>