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

Port

A connection point on a part (port usage).

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

inlet = Port('inlet')
print(inlet.dump())
port inlet;

Definition

from sysml2py import Port

d = Port('inlet', kind='definition')
print(d.dump())
port def inlet;

Related

Clone this wiki locally