Skip to content

Occurrence

Jasper Quillweld edited this page Oct 20, 2026 · 1 revision

Occurrence

Something that happens or exists over time (occurrence usage).

Occurrence is one of the friendly builder classes — the name without a Builder/Usage/Definition suffix. It is a subclass of Builder and produces a *Usage node.

Usage

from sysml2py import Occurrence

eclipse = Occurrence('eclipse')
print(eclipse.dump())
occurrence eclipse;

Definition

from sysml2py import Occurrence

d = Occurrence('eclipse', kind='definition')
print(d.dump())
occurrence def eclipse;

Related

Clone this wiki locally