Hey there experts!
I am trying to unify the logic of many conveyors of my simulation that do the exact same thing, so instead of having e.g. 100 conveyors, each one with its own script, I have the logic gathered in one script only. To do so, I suppose I have to get each of the conveyors with a for loop, and same thing for the properties/behaviours of each component.
However, I’m still quite new to VC python programming so I don’t know how to write it.
I was trying something like this:
from vcScript import *
app = getApplication()
sim = app.Simulation
for i in range(100):
Thanks in advance.