Skip to main content
Sep 22, 2017 5:51 PM UTC
Question

Assembly with vb api

I have a part that is supposed to be assembled with assembly csys with coincident constraint. How can I do it using VB API? Can anyone help me with the code?

3 replies

Sep 22, 2017 6:17 PM UTC

@gannuagastya wrote:

I have a part that is supposed to be assembled with assembly csys with coincident constraint. How can I do it using VB API? Can anyone help me with the code?


Don't know about VB api because I don't use it and don't install it however PTC has a jlink example in which they are assembling a component:

  • jlinkexamples/pfcComponentFeatExamples.java

I would assume PTC has supplied the equivalent VB api example.

Sep 22, 2017 6:42 PM UTC

Hello Randy,

 

Thank you for the information. Where can I get the J-link code?

Sep 22, 2017 6:52 PM UTC

@gannuagastya wrote:

Hello Randy,

 

Thank you for the information. Where can I get the J-link code?


When you install Creo Parametric you have to select the optional Jlink (Creo 3.0) or OTK Java Free (Creo 4.0) api.  Same as installing the VB api. The examples are then installed under:

  • Creo Parametric 3.0
    • Common Files/jlink/jlink_appls/jlinkexamples
  • Creo Parametric 4.0
    • Common Files/otk_java_free/otk_java_appls/jlinkexamples