Skip to main content
Solved

Is there a DotNET sample to develop a custom Factory ?

  • February 4, 2016
  • 6 replies
  • 58 views

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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

6 replies

davideagle
Contributor
Forum|alt.badge.img+22
  • 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+21
  • 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?