SO
Hi,
In my script i am checking of model's state i.e open or closed. if it is open now i am adding the name of model to output excel and continue the execution by skipping the open model.
How can we close the model from a script if it is open so that the execution works on this model as well.
Please suggest.
Thanks in advance.
Hi Sunil,
I could not find anything like this in the past and ended up starting the script from a macro just to check if there are open models, if so close them and then start the script from the macro.
You could potentially re-open any opened models again from the macro after the script execution.
Rgs,
Francois