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

Part

A component or subsystem of the system (part usage).

Part 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 Part

Stage_1 = Part('Stage_1')
print(Stage_1.dump())
part Stage_1;

Definition

from sysml2py import Part

d = Part('Stage_1', kind='definition')
print(d.dump())
part def Stage_1;

Related

Clone this wiki locally