rswarich
Structural
- Jan 17, 2003
- 5
Hello,
Is it possible to executa a CATIA V5 macro from Excel VBA script?
Right now, I am using sendkeys in the VBA Excel macro to send the commands to V5 to run the macro, but that is very clunky. Can not find any VBA commands to control the V5 macros directly. Is there a better way than sendkeys to do this?
Does anyone have an example of how to do it?
Some background: trying to work with an existing V5 macro that someone else wrote. This is a .catvba macro and needs to have the CATAnalysis and CATPart open while it is running. The V5 macro takes an input from an open Excel sheet, runs some V5 analysis, and dumps the output back to Excel. For now trying to use the existing V5 macro as-is, eventually will try to re-write the whole thing to have V5 run in batch mode.
Thanks,
rs
Is it possible to executa a CATIA V5 macro from Excel VBA script?
Right now, I am using sendkeys in the VBA Excel macro to send the commands to V5 to run the macro, but that is very clunky. Can not find any VBA commands to control the V5 macros directly. Is there a better way than sendkeys to do this?
Does anyone have an example of how to do it?
Some background: trying to work with an existing V5 macro that someone else wrote. This is a .catvba macro and needs to have the CATAnalysis and CATPart open while it is running. The V5 macro takes an input from an open Excel sheet, runs some V5 analysis, and dumps the output back to Excel. For now trying to use the existing V5 macro as-is, eventually will try to re-write the whole thing to have V5 run in batch mode.
Thanks,
rs