Hello,
I'm hoping someone can help. I have a series of scripts that I reuse for different projects, and rather than have them hiding within the profiling mechanism I would like them to be held in the model browser and then referenced from the derived property under the relevant element in profiling.
For example, I have a script under a b
I have a blank package called "scripts".
I have file, "information_script.js", with a function, "get_info" specified.
In the profile, under "Failures" for FMEA I have a derived property, which has the following:
load("information_script.js");
get_info();
But when I run this, I receive an error in the FMEA worksheet column for this new derived property, stating:
Failed to execute Java Script: Wrapped java.ioFileNotFoundException: information_script.js (The system cannot find the file specified) (unknown#1)
I have already enabled scripting support within the preferences window.
Any help would be great!
Thanks, J