I want to invoke FME batch process and general FME processes using c#, I have no idea about FME, can anyone please let me know if anything like this is possible?or is it possible in python, any help on this is most welcome. I'm thinking of making a system process file using c# which can automatically initiate FME process or FME batch at midnight. Thanks
You can certainly schedule FME processes using FME Server. However, I believe you can also call an FME workbench using Python. This could easily be scheduled using Task Scheduler or something similar. I found this pdf on the Safe website of a Conterra webinar. On page 11 (Sample #2), they show how you can call an FME workspace from a Python script using the following code:
The questions posted here and here might also be of assistance. | ||||
|
Yes, you can do this with any of the supported languages - including Python and (I believe) C#. You would need to use the iFMEWorkspaceRunner class of FME Objects. There are eight different methods including run, promptRun, and runWithParameters For more info see: http://evangelism.safe.com/fmeevangelist69/ or within FME look at:
| ||||
|