Skip to main content
Skip table of contents

deleteOccasionElement

Delete the occasion element.

Usage

R
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

R
  initializeLixoftConnectors("simulx")
  project_name <- file.path(getDemoPath(), "3.definition", "3.7.occasions", "occasions_common.smlx")
  loadProject(project_name)
  deleteOccasionElement()
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.