Accessing Catia V6 from Excel VBA
Accessing Catia V6 from Excel VBA
(OP)
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 Catia 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?
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 Catia 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?





RE: Accessing Catia V6 from Excel VBA
No chance for us...you have to unset first v5 regserver then set v6...admin rights.... a.s.o. ....personally I believe there is no chance in our environment, so , workaround....catvba directly in v6....not so nice...
Regards
Fernando
https://picasaweb.google.com/102257836106335725208 - Romania
https://picasaweb.google.com/103462806772634246699... - EU