Component creation

In reply to Shefaliv:

You may want to brush up on your Object Oriented Programming and working with classes. A handle is essentially a reference to an object. Thus after the monitor has been created, you now have a reference in, say, env.agent.monitor. In the connect phase, you could assign that to a new data member in your custom sequencer. If you do it from env, in the connect phase, you’d call something like env.virtual_sequencer.monitor = env.agent.monitor

I’d still look into making sure this is the right way to solve your problem. Your sequences will be coupled to the implementation details of the monitor and that’s usually not desirable.