Hi All
I'm trying to write a script that will start a macro in CATIA. I've found the SystemService.ExecuteScript method, however, it only seems to work if the macro is saved in a CATPart document whilst I've got the macro saved in a VBA Project.
My code looks something like this:
CATIA.SystemService.ExecuteScript "library_name.catvba",catScriptLibraryTypeVBAProject,"macro_name.vba","CATMain", params
Has any body had problems like this?
Thanks,
Kevin
I'm trying to write a script that will start a macro in CATIA. I've found the SystemService.ExecuteScript method, however, it only seems to work if the macro is saved in a CATPart document whilst I've got the macro saved in a VBA Project.
My code looks something like this:
CATIA.SystemService.ExecuteScript "library_name.catvba",catScriptLibraryTypeVBAProject,"macro_name.vba","CATMain", params
Has any body had problems like this?
Thanks,
Kevin