×
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

Batch mode from vb.net

Batch mode from vb.net

Batch mode from vb.net

(OP)
How can I use CV5 batch mode using vb.net? would this be possible?

RE: Batch mode from vb.net

Probably vb.net syntax is a little different, but this is how I did it in Excel VBA, launching from a button on a form:

CODE --> VBA

Private Sub StartCatiaBatch_Click()

Dim CATIA As Object
Set CATIA = CreateObject("Catia.Application")

CATIA.Application.Visible = False

End Sub 

RE: Batch mode from vb.net

(OP)
I have tried Visible but does not look as batch mode, it is as slow.
More than this, it is funny that I still can see some toolbar flashing :)

RE: Batch mode from vb.net

use a command line with -batch to get CATIA in batch mode as explained in the online Doc.

google VB Process.Start

Eric N.
indocti discant et ament meminisse periti

RE: Batch mode from vb.net

(OP)
I don't quite get it. If I understood right, with batch mode I could start only a .catscript?
Is it not possible to use the code written in vb.net?

RE: Batch mode from vb.net

the script from batch could call an exe I guess...

Eric N.
indocti discant et ament meminisse periti

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