Run/start visual components via windows command line

Hello,

Can I start VC from windows command line? Furthermore, is this possible to start several VC instances together by running a .bat script?

Thank you!

1 Like

Hy,

for what?

Regards
Feature

Hello,

The purpose is to run several experiments/simulations in parallel, and I can collect data after the simulations are done.

Thank you!

Hy,

I’m not a profi with bat-scripts… but if I were you I would simply try it, if this would not violated the license terms of VC!

Regards
Feature

Hi,

this will do the trick.

StartAllSimulationFilesInFolder.bat (63 Bytes)

3 Likes

Thank you very much!

Hi @juergenb thanks for sharing the bat file! This will open the Models in different instances of VC but what would be the command to also start the simulation?

Hy,

I think, you couldn’t do this via bat-script because this happens with VC-Framework in the specific VC-Instance!

Therefore you need another approach…

Regards
Feature

You could create an addon that automatically starts the simulation if VC is launched with a certain argument.

2 Likes