×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

little urgent

little urgent

little urgent

(OP)
hello all another questions.

Can not I run obfuscated .catvbs using below code.


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

regards
var

RE: little urgent

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

https://picasaweb.google.com/102257836106335725208
https://picasaweb.google.com/103462806772634246699...

RE: little urgent

(OP)
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

RE: little urgent

what version of CATIA are you using?

Eric N.
indocti discant et ament meminisse periti

RE: little urgent

(OP)
We have V18, V20, V22. (depends on customers)

We write and test all macros on V18 (lowest version).

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources