[MS CE 12 FR]unable to launch a vba command in batch mode

Hello,

In V8i edition, I used to launch MicroStation in batch mode to run a vba command on a lot of files with the help of batchprocess.ma

In connect Edition, I still can use MicroStation in batch mode as documented here: https://docs.bentley.com/LiveContent/web/MicroStation%20Help-v14/en/GUID-3C9B4E83-F31A-0490-2990-3A9F62A888BD.html

This works perfectly well for standard MicroStation commands but it does not seem to work when trying to launch a vba macro although this command file below works well when launched interactively from the batch processing utility

I wonder if this is not possible on purpose.

#----------------------------------------------------------------------
#
# Command file for batchprocess utility 
#
# This command file was originally copied from $(MS_DATA)cmdfiletemplate.txt.
# Command file information:
# - Lines that start with the '#' character are treated as comments and ignored.
#
#----------------------------------------------------------------------
place circle #works
xy=0,0 #works
xy=0,5000 #works
vba load C:\ProgramData\Bentley\PCT\TestBatch\Test.mvba # ?
macro vba run [Test]module1.start # ?

Parents Reply Children
No Data