Is it better practice to use
import fme
param = fme.macroValues[‘parameterName’]
or
import fmeobjects
param = FME_MacroValues[‘parameterName’]
in Python scripted parameters and why?
Is it better practice to use
import fme
param = fme.macroValues[‘parameterName’]
or
import fmeobjects
param = FME_MacroValues[‘parameterName’]
in Python scripted parameters and why?
Best answer by daveatsafe
Hi @jdh,
FME_MacroValues is still available for backwards compatibility, but we would recommend that fme.macroValues be used instead.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.