cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Creo customization including VBAPI,Weblink,Jlink

Highlighted
Granite

Creo customization including VBAPI,Weblink,Jlink

One to four little updates for these topics

 

Contact with me if you're interested in these and send me your mail address

 

contact mail:15913754304@163.com

Tags (1)
5 REPLIES 5
Highlighted

Re: Creo customization including VBAPI,Weblink,Jlink

 weblink configuration.JPG

 

 

Highlighted

Weblink session 1

  1. Get creo Session in weblink  MpfcCOMGlobal.GetProESession()

ActiveXObject method to create class in weblink

function pfcCreate (className)
{
  if (pfcIsWindows())
    return new ActiveXObject ("pfc."+className);
  else if (pfcIsChrome())
    return pfcCefCreate (className);
  else if (pfcIsMozilla())
  { 
    netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
    ret = Components.classes ["@ptc.com/pfc/" + className + ";1"].createInstance();
    return ret;
  }

2.Get current working directory and change it

getCurrentDir.JPGchangeWorkingDir.JPG

 

Highlighted

Re: Weblink model

Get model info in session

 

modelInfo.JPG

Highlighted

Re: Weblink modelItem

ListModelItem

 

ModelItem img1.JPGModelItem img2.JPG

Highlighted

Re: Weblink modelItem

It's not convinent to post all the programs in community, so i will just post the result of the programs

however, you can contact with me via Skype while you wanna to know more details, including Weblink,Jlink,ToolkitJava,VBAPI

skype.JPG

Announcements