john renfrew Posted May 11, 2010 Posted May 11, 2010 Is is possible to pass a parameter to the script you are performing using fmpro.performScript?? If so, how?
Valentin Posted May 11, 2010 Posted May 11, 2010 fmpro.performScript( "fileName", "scriptName", "parameterString" ); I'll make a note to add and example with parameters to the ScriptMaster file.
john renfrew Posted May 12, 2010 Author Posted May 12, 2010 Thank you Valentin Easy, and in fact blindingly obvious, when you know how...
andries Posted May 12, 2010 Posted May 12, 2010 fmpro.performScript( "fileName", "scriptName", "parameterString" ); I'll make a note to add and example with parameters to the ScriptMaster file. Actually I am wondering if it is possible to write an API guide like other java classes for the fmPro object, unless evaluate(fmcalculation), performScript(fileName, scriptName [ , paramString ]) and merge(template) are the only methods worth considering, in that case it is already done -)
Recommended Posts
This topic is 5320 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now