Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Batch mode from vb.net

Status
Not open for further replies.

iscariot

Mechanical
Joined
Oct 15, 2009
Messages
154
Location
DE
How can I use CV5 batch mode using vb.net? would this be possible?
 
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?

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

Eric N.
indocti discant et ament meminisse periti
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top