Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

ExecuteScript

Status
Not open for further replies.

krestrick

Aerospace
Dec 11, 2003
1
GB
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor