Skip to main content
17-Peridot
February 16, 2023
Question

LabView ActiveX to Visual Basic API for PTC CREO PARAMETRIC

  • February 16, 2023
  • 1 reply
  • 1810 views

This is a basic example of how to use the vbapi toolkit for PTC CREO PARAMETRIC (version 9.0.2.0). This also has an example of how LabView does the equivalent of a VB.NET " typecast " to parent and child objects in ActiveX using Variant To Data.

Detailed documentation of the interface is installed with the Creo vba tookit at C:\Program Files\PTC\Creo X.X.X.X\Common Files\vbapi

Front_Panel.png

CREO_Vba_Snippet.png

1 reply

17-Peridot
February 17, 2023

Looks like will be difficult to draw complex program.

Graphical programming is an interesting way, but for real use need to have predefined blocks. The block must fold all "system" stuff (casting, classes) to simplify user life.