Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

Batch mode from vb.net

Status
Not open for further replies.
Replies continue below

Recommended for you

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:
Private Sub StartCatiaBatch_Click()

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

CATIA.Application.Visible = False

End Sub
 
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 :)
 
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
 
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?

 
Status
Not open for further replies.
Back
Top