Configure Eclipse to write python scripts for Salome
Configure Eclipse to write python scripts for SalomePosted by Jurij Sodja at January 23. 2013
I have been trying to configure my Eclipse PyDev IDE so I could write Salome python scripts in Eclipse.
I modified PYTHONPATH so that it contains the SALOME modules. I can import salome, geompy, smesh etc at the beginning of the script like:
import smesh, SMESH
The IDE will not complain. However when I try to create a vertex like:
pnt1 = geompy.MakeVertex (0,0,0)
I can not access the method MakeVertex(). I can only access the method like geompy.makeText().
I have also tried to run eclipse from terminal. In the terminal I run first the Salome script runSession
to create the environment and then from there the Eclipse IDE.
What settings am I missing?
Thank you for your help!