R/Framework.R
writeActiveProcessID.Rd
This function has the primary use of writing the proided activeProcessID to the activeProcessID.txt file
writeActiveProcessID(
projectPath,
modelName,
activeProcessID = NULL,
affectLaterModels = FALSE,
currentActiveProcessID = NULL,
processDirty = NULL,
propertyDirty = NULL
)
The path to the StoX project, i.e., the folder of the project with the sub folders "input", "output" and "process". Can possibly be the path to a file inside the project folder.
The name of the model (possible values are "baseline", "analysis" and "report").
The process ID of the process to set as the active process. If not given, the active process ID is not changed.
Logical: If TRUE reset the later models it the active pocess ID has changed in the current model.
If both activeProcessID and currentActiveProcessID, a check is made for whether these are equal, in which case the active process ID is NOT written.
Logical: Controls whether the process has been changed (either process data or parameters) by user and not run.
Logical: Controls whether the properties of the process has been changed by a run, i.e. UseProcessdata automatically set to TRUE