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!

little urgent

Status
Not open for further replies.

appvid

Automotive
Nov 9, 2012
81
US
hello all another questions.

Can not I run obfuscated .catvbs using below code.


CATIA.SystemService.ExecuteScript scpath, catScriptLibraryTypeDirectory, "Macro1.catvbs", "CATMain", EmptyPar

regards
var
 
Replies continue below

Recommended for you

Hi,

Normally you should be able to run any kind of catvbs, obfuscated or not, maybe mistake is somewhere else.
I have this code in CATScript and is running OK, should work also in catvbs.

Sub CATMain()
Dim EmptyPar()
Dim ScPath
ScPath = "C:\Temp"
CATIA.SystemService.ExecuteScript Scpath, catScriptLibraryTypeDirectory, "Test.CATScript", "CATMain", EmptyPar
End Sub

Regards
Fernando

 
Hello Ferdo

CATVBS works fine with above script but once I obfuscate it does not work.

Did u try with obfuscated catvbs at all??

regards
var
 
what version of CATIA are you using?

Eric N.
indocti discant et ament meminisse periti
 
We have V18, V20, V22. (depends on customers)

We write and test all macros on V18 (lowest version).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Top