Skip to main content
Solved

Transformer FMEFunctionCaller

  • July 12, 2016
  • 5 replies
  • 61 views

danilo_fme
Celebrity
Forum|alt.badge.img+51

Hello all FME`Users,

About the transformers FMEFunctionCaller, when is the indicated to use it?

Thanks in advance,

Best answer by david_r

It's a bit of a legacy transformer, it would allow you to call specific functions as used internally by FME, as listed here: http://docs.safe.com/fme/html/FME_FactFunc/nav.html#function_header

The functions are the same as used in the FME transformers, but the difference is that the FMEFunctionCaller gave you a bit more flexibility in edge cases and would allow you to dynamically parametrize the call in a way that wasn't possible in earlier versions of FME. Today you can parametrize pretty much all the transformer settings and you can also access the same functions inside a lot of other transformers such as the AttributeCreator using the advanced editor.

So I'm not sure the FMEFunctionCaller is very useful today, I sure haven't used it in ages.

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.

5 replies

david_r
Celebrity
  • Best Answer
  • July 12, 2016

It's a bit of a legacy transformer, it would allow you to call specific functions as used internally by FME, as listed here: http://docs.safe.com/fme/html/FME_FactFunc/nav.html#function_header

The functions are the same as used in the FME transformers, but the difference is that the FMEFunctionCaller gave you a bit more flexibility in edge cases and would allow you to dynamically parametrize the call in a way that wasn't possible in earlier versions of FME. Today you can parametrize pretty much all the transformer settings and you can also access the same functions inside a lot of other transformers such as the AttributeCreator using the advanced editor.

So I'm not sure the FMEFunctionCaller is very useful today, I sure haven't used it in ages.


gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • July 12, 2016

sounds like a 0 point winner!


Forum|alt.badge.img+5

As David says, most functions are now created as transformers, and many are exposed in the AttributeManager text/arithmetic editors.

The one I use the most is probably the CopyAttributes function, where I'm doing something complex with defining a new attribute using some other item as the attribute name (though even that you can mostly do with the AttributeCreator transformer). The only instance I can find where I used this transformer was in a workspace I created for FME Golf - which is hardly evidence of best practice!


danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Author
  • Celebrity
  • July 14, 2016

It's a bit of a legacy transformer, it would allow you to call specific functions as used internally by FME, as listed here: http://docs.safe.com/fme/html/FME_FactFunc/nav.html#function_header

The functions are the same as used in the FME transformers, but the difference is that the FMEFunctionCaller gave you a bit more flexibility in edge cases and would allow you to dynamically parametrize the call in a way that wasn't possible in earlier versions of FME. Today you can parametrize pretty much all the transformer settings and you can also access the same functions inside a lot of other transformers such as the AttributeCreator using the advanced editor.

So I'm not sure the FMEFunctionCaller is very useful today, I sure haven't used it in ages.

Thanks !!!


danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Author
  • Celebrity
  • July 14, 2016

As David says, most functions are now created as transformers, and many are exposed in the AttributeManager text/arithmetic editors.

The one I use the most is probably the CopyAttributes function, where I'm doing something complex with defining a new attribute using some other item as the attribute name (though even that you can mostly do with the AttributeCreator transformer). The only instance I can find where I used this transformer was in a workspace I created for FME Golf - which is hardly evidence of best practice!

Thanks Mark