Let’s Start Programming! Forums CATIA Macro Programming Accessing Catia V6 from Excel VBA

This topic contains 0 replies, has 1 voice, and was last updated by  Andrei 2 years ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #2346

    Andrei
    Participant

    I am trying to convert some macros that I have created for Catia V5, using Excel VBA.

    For Catia V5 the following code enables VBA to interface with Catia and access the related objects:

    Dim CATIA As Object
    Set CATIA = GetObject(, “CATIA.Application”)

    The problem with V6 is that the GetObject function does not work anymore with the argument “CATIA.Application”. From the documentation of the GetObject function, I understand that this argument is a progID, specific for the application Catia V5. Does anyone know what is the progID for Catia V6?

Viewing 1 post (of 1 total)

The forum ‘CATIA Macro Programming’ is closed to new topics and replies.