Skip to main content
1-Visitor
July 28, 2016
Question

VBA scripting in CREO

  • July 28, 2016
  • 1 reply
  • 4388 views

In all the PTC/CREO suport materials, are there examples of using Excel's VBA to drive repetative operations in CREO?  Thank you.

    1 reply

    Chris3
    21-Topaz I
    July 29, 2016

    When you say "repetitive operations" what are you referring to?

    You can use Excel to drive geometry:

    http://learningexchange.ptc.com/tutorial/188/creating-an-ms-excel-analysis-feature

    Creo 2.0 e Excel - YouTube


    You can also use VBA to interact with the VB Toolkit. This can be complicated to setup and is not entirely user friendly.

    Creating a Creo2 Tool with Toolkit

    Examples: <load_point>\Common Files\<Datecode>\protoolkit


    Alternatively you can record a mapkey and then edit the mapkey to suit your needs.