PortionKind

PortionKind is defined in SysML specification on page 320. Excerpt from the machine readable specification:

PortionKind is an enumeration of the specific kinds of Occurrence portions that can be represented by an OccurrenceUsage.

The following diagram shows the inheritance hierarchy of PortionKind according to the specification:

// Class: PortionKind digraph { PortionKind [label="PortionKind (SysML)" shape=plaintext] }

The following table shows all attributes defined for PortionKind according to the specification together with the documentation from the machine readable specification. Note that in SysIDE API, we use snake case for attribute names instead of Pascal case used in the specification.

Attribute

Documentation from machine readable specification

Attributes defined in PortionKind:

Timeslice

A time slice of an Occurrence (a portion over time).

Snapshot

A snapshot of an Occurrence (a time slice with zero duration).

The following table lists SysIDE specific attributes available for class PortionKind:

Python Attribute

class PortionKind(*args, **kwds)
Timeslice = 0
Snapshot = 1
classmethod __signature__()
__new__(value)
__repr__()
__str__()
__dir__()
__format__(format_spec)
__hash__()
__reduce_ex__(proto)
__deepcopy__(memo)
__copy__()
name()
value()