Skip to main content
Solved

Transformer FMEFunctionCaller


danilo_fme
Evangelist
Forum|alt.badge.img+45

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.

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

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
Evangelist
Forum|alt.badge.img+45
  • Author
  • Evangelist
  • July 14, 2016
david_r wrote:

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
Evangelist
Forum|alt.badge.img+45
  • Author
  • Evangelist
  • July 14, 2016
mark2catsafe wrote:

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


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