Mar 27, 2018 #1 iscariot Mechanical Joined Oct 15, 2009 Messages 154 Location DE How can I use CV5 batch mode using vb.net? would this be possible?
Mar 27, 2018 #2 MarkAF Mechanical Joined Oct 13, 2006 Messages 143 Location US 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 Upvote 0 Downvote
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
Mar 27, 2018 Thread starter #3 iscariot Mechanical Joined Oct 15, 2009 Messages 154 Location DE 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 Upvote 0 Downvote
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
Mar 27, 2018 #4 itsmyjob Mechanical Joined Apr 11, 2002 Messages 2,375 Location CA 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 Upvote 0 Downvote
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
Mar 27, 2018 #5 ferdo Mechanical Joined Jul 4, 2002 Messages 2,859 Location RO And for sure you will see loading form even in batch mode....better check this excellent article here Regards Fernando https://picasaweb.google.com/102257836106335725208 - Romania https://picasaweb.google.com/103462806772634246699/ - EU Upvote 0 Downvote
And for sure you will see loading form even in batch mode....better check this excellent article here Regards Fernando https://picasaweb.google.com/102257836106335725208 - Romania https://picasaweb.google.com/103462806772634246699/ - EU
Mar 28, 2018 Thread starter #6 iscariot Mechanical Joined Oct 15, 2009 Messages 154 Location DE 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? Upvote 0 Downvote
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?
Mar 28, 2018 #7 itsmyjob Mechanical Joined Apr 11, 2002 Messages 2,375 Location CA the script from batch could call an exe I guess... Eric N. indocti discant et ament meminisse periti Upvote 0 Downvote
the script from batch could call an exe I guess... Eric N. indocti discant et ament meminisse periti