in MicroStation Connect (update 11-15), how do you run a vba module from a keyin script when using the "msbatch.bat batchprocess" from the command line? I thought in V8i a keyin was required mdl load ustnvba but this is not working in MicroStation Connect. My current keyin script is:
reference merge all
#load vba and runvba run [BVAMMPublishPackage]PublishPackageCE.BVAMMPublishImodels
filedesignchoose none
Mark Winegar said:vba run [BVAMMPublishPackage]PublishPackageCE.BVAMMPublishImodels
MicroStation Help tells us that you are using the correct key-in. Presumably that same key-in works interactively?
Regards, Jon Summers LA Solutions
yes, it works interactively. I can also run a @scriptpath\scriptname and it runs all key in as well.
As a follow up on this, the failure of running vba in a command line batch process for MicroStation CE was filed as a defect. The defect number is 1088750.
Hello, I have exactly the same problem. Is there already a solution or a way to track the status of the defect number?
Christian Martens said:Is there already a solution or a way to track the status of the defect number?
File a service request (SR) and ask to be linked to the above defect no.