deleteOccasionElement
[Simulx] Delete occasion element
Delete the occasion element.
Usage
deleteOccasionElement()
Details
The occasion element impacts the definition of other elements and the simulation. As for other elements, the occasion element can be defined or imported, and it is saved with the Simulx project if calling saveProject
.
To check if an occasion element has been defined, please use getOccasionElements
.
The occasion element may impact the definition of other elements. When deleting the occasion element, all other elements that depend on occasions are also deleted.
Examples
initializeLixoftConnectors("simulx")
project_name <- file.path(getDemoPath(), "3.definition", "3.7.occasions", "occasions_common.smlx")
loadProject(project_name)
deleteOccasionElement()