Is there a way to detect whether a paramAnalysis() statement has been issued prior to issuing the paramRun statement?
Could you please let me know why you would want to do this check? paramRun will error out if there are no paramAnalysis specified in the Ocean script.
In reply to Ramkumar M:
You are correct in that it errors out.
The reason I want to dectect it is that I'm writing an auto-lanching script for ocean scripts. I'm handling the run command so that the ocean simulation code is more compact. But I ran into the issue that I can't figure out how to detect whether a paramAnalysis statement has been issued or not.
In reply to markbeck:
The info appears to be in a private variable (and it's hidden within a SKILL++ environment, so you really can't access it), and there doesn't appear to be a way to check.
I'd wondered whether ocnDisplay('param) might help, but that doesn't appear to actually do anything.
So you should contact customer support and request an enhancement. Right now you might just need to do:
In reply to Andrew Beckett:
Created new CR: 41813920
Thanks for your help