span8
span4
span8
span4
PyCharm Community Edition is a free and easy to use IDE for Python projects that can be set up to provide auto-completion for FMEObjects.
Download and install PyCharm Community edition from https://www.jetbrains.com/pycharm/download/
Python FMEObjects projects cannot use FME's internal Python, so you may need to install a full version of Python from www.python.org. You can also use the Python installed by ArcGIS.
To configure for FMEObjects:
import fmeobjects
@DaveAtSafe Amazing tutorial. I did install the PyCharm and i followed the all steps.
Its work in my machine:
Thanks :)
Danilo de Lima
Thanks!
as for FMEPlugInSDK_Python.pdf it is suppose to add
[FME_INSTALLATION]\fmeobjects\python27
[FME_INSTALLATION]\plugins
to the interpreter paths, as known it doesnt work.
as you say, adding the extra :
[FME_INSTALLATION]\python
[FME_INSTALLATION]\python\python27
it resolve in a very unelegant way,
this create confusion if you are using your python path.
I've noted this in PyCharm : if you go to Project->External lib->pythonx.x.x->BinarySkeletrons you'll find that '__init__.py' is missing, there is instead a subfolder '__init__'.
I think the bug is here.
so, PyCharm permit me to right-click and create a new file '__init__.py' inside the 'fmeobjects' folder.
In this way I can configure my interpreter as for SDK instructions and have my python along fme stuffs.
on the other hand I have to use a very uncommon still unelegant import statement :
from fmeobjects.__init__ import ...
where '__init__' is the subfolder of fmeobjects.
but i can still use my python env without mixing other unwanted sources.
I've asked FME team to resolve this.
thanks.
@DaveAtSafe Awesome, but if you can please update the article towards PyCharm 2019 release, as the menus and dialog entries have changed. Also it's good to see how to add the interpreter paths for ArcPro
How to log out after running a translation (Windows OS)
Startup and Shutdown Python and Tcl Scripts
How can I call an FME transformation from my own application?
Creating a new FME transformer
MicroStation Text Styles in FME 2015.1 and newer
Named Connection Compatibility between Esri 10.4 Data Interoperability and FME 2016 Extension
GeometryOGCValidator does not validate duplicate points (FME 2012 and older)
© 2019 Safe Software Inc | Legal