maeExportScenarioSetup
maeExportScenarioSetup(t_reliabilityScenarioSetup[ ?sessiont_sessionName] [ ?runt_runName] [ ?filet_fileName] [ ?allReadOnlyg_allReadOnly] [ ?enabledReadOnlyg_enabledReadOnly] ) => t / nil
Description
Exports the details of the specified reliability scenario setup to a CSV file.
Arguments
Value Returned
|
The details of the specified reliability scenario are successfully exported. |
|
|
The details of the specified reliability scenario cannot be exported because of an error. |
Examples
The following example exports the details of the reliability scenario setup RelxScenario to the testCSV.csv file at the specified location.
maeExportScenarioSetup("RelxScenario" ?file "/home/user/ReliabilitySetup/testCSV.csv")
=> RelxScenario is exported to /home/user/ReliabilitySetup/testCSV.csv
=> t
The following example exports the details of the reliability scenario setup RelxScenario to the scenarioSetup.csv file in the current working directory.
maeExportScenarioSetup("RelxScenario")
=> RelxScenario is exported to ./scenarioSetup.csv
=> t
The following example exports the details of the reliability scenario setup RelxScenarios to the specified CSV file in the current working directory. All the reliability scenario rows from the Reliability Scenarios Setup form are exported in read-only mode to the CSV file.
maeExportScenarioSetup("RelxScenarios" ?file "./myExportedSetup" ?allReadOnly t)
=> RelxScenarios0 is exported as ./myExportedSetup
=> t
The following example exports the details of the reliability scenario setup RelxScenarios to the specified CSV file in the current working directory. Only the reliability scenario rows that are enabled in the Reliability Scenarios Setup form are exported in read-only mode to the CSV file.
maeExportScenarioSetup("RelxScenarios" ?file "./myExportedSetupReadOnly" ?enabledReadOnly t)
=> RelxScenarios0 is exported as ./myExportedSetupReadOnly
=> t
Return to top