Hi Team,
I am getting error! when i am writing Python Script
Script: from Microsoft.MSDN.Samples.GraphicsObjects import *
Importerror:No module named MSDN
I have VS2017 in my Desktop. please hekp me to resolve this issue
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Daniel,
I am unable to add a material stream using following script> not sure what is going wrong here. Can you please help me with this. I need to build a model of combustion reactor.
"import clr
import DWSIM
from Microsoft.MSDN.Samples.GraphicObjects import *
Forget about this tutorial on the website. It is only for DWSIM v3, as stated on the page header. Check the included samples on DWSIM for hydrocyclone, membrane and LNG exchanger for a more updated script.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Team,
I am getting error! when i am writing Python Script
Script: from Microsoft.MSDN.Samples.GraphicsObjects import *
Importerror:No module named MSDN
I have VS2017 in my Desktop. please hekp me to resolve this issue
Thanks
hey team, any help on this issue
what are you trying to do and what is the DWSIM version you're running?
Hi Daniel,
DWSIM 5.5 latest one. I was trying sample code from internet how to add models with help of python scripts.
From this url:
http://dwsim.inforside.com.br/wiki/index.php?title=Using_the_IronPython_Script_Manager
I have add attachement of code which i am trying. Please let me know if any more information needed
Thanks
Krishnkumar
Hi Daniel,
I am unable to add a material stream using following script> not sure what is going wrong here. Can you please help me with this. I need to build a model of combustion reactor.
"import clr
import DWSIM
from Microsoft.MSDN.Samples.GraphicObjects import *
add a material stream to the flowsheet
Flowsheet.FormSurface.AddObjectToSurface(TipoObjeto.MaterialStream,20,20,"MAT-000")
add a valve to the flowsheet
Flowsheet.FormSurface.AddObjectToSurface(TipoObjeto.Valve,50,20,"VALV-000")
remove the 'MAT-000' object from the flowsheet
Flowsheet.DeleteObject("MAT-000")
remove the 'VALV-000' object from the flowsheet
Flowsheet.DeleteObject("VALV-000")
Forget about this tutorial on the website. It is only for DWSIM v3, as stated on the page header. Check the included samples on DWSIM for hydrocyclone, membrane and LNG exchanger for a more updated script.
Thanks Lot ! Daniel. This software is interesting
Daniel can you share the link for the above said samples
The samples are included with DWSIM, read my last answer.