Skip to main content
Solved

Is there a DotNET sample to develop a custom Factory ?


ahuarte47
Contributor
Forum|alt.badge.img+3
Is there a DotNET sample to develop a custom Factory ?

Best answer by fmelizard

At the moment we do not have a DotNET plugin SDK. We have had many customers use the C++ Plugin SDK and then call out to DotNET from there, which has reduced our motivation to build that kit. In the short/medium term I don't see any better way, so I think the best bet is to use C++ plugin API and call out to DotNET from there.

You could also try something like http://pythonnet.sourceforge.net/readme.html if you were a Python person, though that looks a lot scarier to me.

Sorry about this @ahuarte47 -- do be in touch to let us know how it goes.

View original
Did this help you find an answer to your question?

6 replies

davideagle
Contributor
Forum|alt.badge.img+21
  • Contributor
  • February 4, 2016

API documentation is available in your FME home directory assuming you installed FME Desktop and ticked the 'install SDK' option. To check have a look here:

<FME_HOME>\\fmeobjects\\dotnet\\apidoc

etc...

If the folder isn't there, you'll need to uninstall and reinstall.


ahuarte47
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • February 4, 2016

Thanks for your reply.

I see it, but I would like to develop a custom factory using as seed a DotNET sample. There are two "StartEndFactory" sample projects for cpp and java environments but there is not available for DotNET.

FMEObjectsDotNet4.dll does not define the IFMEFactory interface as FMEObjects.jar does. I do not know how to start.

Is it possible? or should I create a C++/NET wrapper ?


fmelizard
Safer
Forum|alt.badge.img+18
  • Safer
  • Best Answer
  • February 6, 2016

At the moment we do not have a DotNET plugin SDK. We have had many customers use the C++ Plugin SDK and then call out to DotNET from there, which has reduced our motivation to build that kit. In the short/medium term I don't see any better way, so I think the best bet is to use C++ plugin API and call out to DotNET from there.

You could also try something like http://pythonnet.sourceforge.net/readme.html if you were a Python person, though that looks a lot scarier to me.

Sorry about this @ahuarte47 -- do be in touch to let us know how it goes.


ahuarte47
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • February 8, 2016

Thanks a lot @daleatsafe, I am going to use the C++ Plugin SDK and then call out to DotNET from there. My customer agrees about it, they have only .NET developers and they prefer this technology to develop the core capabilities. I must provide them only a bridge between C++ SDK and your .NET assemblies.


ahuarte47
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • August 4, 2017

Hi, I am glad to announce a new FME DotNet SDK in github to develop FME transformers using .NET code.

See link


Is this framework working with free edition desktop?


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings