I tried to run Automation.Automation2() but it throws up a NullReferenceException. Is there an issue?
process=DWSIM.Automation.Automation2()
NullReferenceException: Object reference not set to an instance of an object.
at DWSIM.Automation.Automation2..ctor() in C:\Users\Daniel\source\repos\DanWBR\dwsim6\DWSIM.Automation\Interface.cs:line 145
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Have you figured out how to solve this issue with Automation2()? I am facing the same problem whenever I try to instanciate a second interface object with Automation2().
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I tried to run Automation.Automation2() but it throws up a NullReferenceException. Is there an issue?
process=DWSIM.Automation.Automation2()
NullReferenceException: Object reference not set to an instance of an object.
at DWSIM.Automation.Automation2..ctor() in C:\Users\Daniel\source\repos\DanWBR\dwsim6\DWSIM.Automation\Interface.cs:line 145
Hey Vikram Sundara,
Have you figured out how to solve this issue with Automation2()? I am facing the same problem whenever I try to instanciate a second interface object with Automation2().
Perhaps the answer is in my previous comment: there must be only one instance of automation manager for multiple flowsheet objects.
That worked for me.