altium monkey v2026.11.26 · gobblerito
On This Page (60)

Multi-Board Systems

Experimental read-only .PrjMbd, .MbsDoc, module resolution, system netlists, and AltiumSystem C0 composition.

77 / 77 shown
class

AltiumMbsDoc

from altium_monkey.altium_mbsdoc import AltiumMbsDoc
class AltiumMbsDoc(container: 'MbsContainer', diagnostics: 'tuple[MultiboardDiagnostic, ...]' = (), *, unique_id: 'str | None' = None, graph: 'MbsLogicalGraph | None' = None) -> 'None'

Read-only system design document.

Every logical variant Altium registers is modeled: direct, wire, wire group, cable, and harness connections; conflicts; power ports; virtual modules and placeable components (format version 2); functional blocks; and harness definitions. A variant with an unregistered ``$type`` is kept verbatim in ``unknown_elements`` with a diagnostic; when it can carry topology, ``connectivity_complete`` is False.

Members (29)
KindSignatureSummary
methodcomponent(self, ref: 'MbsRefLike') -> 'MbsComponent | None'Component of any owner (module, virtual module, placeable
propertyconflicts -> 'tuple[MbsConflict, ...]'Saved ECO conflicts in stored order.
methodconnection(self, ref: 'MbsRefLike') -> 'MbsConnection | None'Modeled connection by reference or full id.
propertyconnections -> 'tuple[MbsConnection, ...]'Modeled logical connections in stored order.
propertyconnectivity_complete -> 'bool'False when topology may be missing.
propertycontainer -> 'MbsContainer'Archive member listing and ``core.json`` facts.
propertydiagnostics -> 'tuple[MultiboardDiagnostic, ...]'Diagnostics in report order.
propertydocument_id -> 'str'Identity scope of every ``MbsObjectRef`` in this document.
methodentry(self, ref: 'MbsRefLike') -> 'MbsEntry | None'Module entry or connection entry by reference or full id.
methodentry_for_pin(self, ref: 'MbsRefLike') -> 'MbsEntry | None'The entry of this pin's last ``entryPinMap`` row, or None.
propertyformat_version -> 'int | None'``core.json`` format version, or None when unavailable.
classmethodfrom_bytes(cls, data: 'bytes', *, document: 'str | None' = None) -> 'Self'Read a ``.MbsDoc`` from bytes.
classmethodfrom_file(cls, path: 'str | Path') -> 'Self'Read a ``.MbsDoc`` file.
propertyharness_definitions -> 'tuple[MbsHarnessDefinition, ...]'Harness source definitions in stored order.
methodmated_entries(self, ref: 'MbsRefLike') -> 'tuple[MbsEntry, ...]'The other entry of every entries connection with this entry, in
methodmated_entry(self, ref: 'MbsRefLike') -> 'MbsEntry | None'The other entry of the first entries connection with this entry.
methodmated_pin(self, ref: 'MbsRefLike') -> 'MbsPin | None'Peer of this pin across its first pin pair, or None.
methodmated_pins(self, ref: 'MbsRefLike') -> 'tuple[MbsPin, ...]'Peers of this pin across every pin pair, in stored link order.
propertymodified -> 'str | None'``core.json`` modification timestamp text (ISO 8601 UTC), or None.
methodmodule(self, ref: 'MbsRefLike') -> 'MbsModule | None'Module by reference or full id.
propertymodules -> 'tuple[MbsModule, ...]'Module occurrences in stored order.
propertyparameters -> 'tuple[MbsParameter, ...]'Document parameters in stored order.
methodpin(self, ref: 'MbsRefLike') -> 'MbsPin | None'Module or connection pin by reference or full id.
methodpin_pair(self, ref: 'MbsRefLike') -> 'MbsPinPair | None'Pin pair by reference or full id.
propertyplaceable_components -> 'tuple[MbsPlaceableComponent, ...]'Logical placeable components (format version 2) in stored order.
propertypower_ports -> 'tuple[MbsPowerPort, ...]'Power ports in stored order.
propertyunique_id -> 'str | None'``logical.json`` ``uniqueId``, or None when absent or unreadable.
propertyunknown_elements -> 'tuple[MbsUnknownElement, ...]'Unmodeled elements, kept verbatim, in report order.
propertyvirtual_modules -> 'tuple[MbsVirtualModule, ...]'Virtual modules (format version 2) in stored order.
class

AltiumMultiboardProject

from altium_monkey.altium_multiboard import AltiumMultiboardProject
class AltiumMultiboardProject(project: 'AltiumPrjMbd', system_document: 'AltiumMbsDoc | None', diagnostics: 'tuple[MultiboardDiagnostic, ...]' = (), *, source_path: 'Path | None' = None) -> 'None'

Read-only multi-board project: the PrjMbd and its system design.

``system_document`` is loaded from the first Altium-visible ``.MbsDoc`` member when that member resolves to an existing file (a relative path, or a drive-absolute or UNC path on Windows); it is None otherwise, and the PrjMbd diagnostics say why.

Members (7)
KindSignatureSummary
propertydiagnostics -> 'tuple[MultiboardDiagnostic, ...]'Facade diagnostics (the PrjMbd and MbsDoc cross-check).
classmethodfrom_file(cls, path: 'str | os.PathLike[str]') -> 'Self'Read a ``.PrjMbd`` file and its system design member.
propertyproject -> 'AltiumPrjMbd'The PrjMbd read model.
methodresolve_modules(self, mapping: 'ModuleMapping | None' = None) -> 'tuple[MbsModuleResolution, ...]'Resolve every module occurrence to a board-project member.
propertysource_path -> 'Path | None'Actual loaded PrjMbd path, absent for pathless constructed projects.
propertysystem_document -> 'AltiumMbsDoc | None'The system design document, or None when it was not loaded.
methodsystem_netlist(self) -> 'MbsSystemNetlist'System nets across boards with every name they carry.
class

AltiumPrjMbd

from altium_monkey.altium_prjmbd import AltiumPrjMbd
class AltiumPrjMbd(*, design_options: 'tuple[tuple[str, str], ...]', members: 'tuple[PrjMbdMember, ...]', diagnostics: 'tuple[MultiboardDiagnostic, ...]') -> 'None'

Read-only multi-board project.

``members`` keeps every ``Document<n>``-like section in numeric order; the role properties consider only ``altium_visible`` members. Sections and keys are matched case-sensitively like Altium: a repeated section merges into the first, and the first value of a repeated key wins.

Members (9)
KindSignatureSummary
propertyassembly_member -> 'PrjMbdMember | None'The first Altium-visible ``.MbaDoc`` member, or None.
propertyboard_project_members -> 'tuple[PrjMbdMember, ...]'Altium-visible child ``.PrjPcb`` members in member order.
propertydesign_options -> 'tuple[tuple[str, str], ...]'``[Design]`` ``(key, value)`` pairs in file order.
propertydiagnostics -> 'tuple[MultiboardDiagnostic, ...]'Read diagnostics in report order.
classmethodfrom_bytes(cls, data: 'bytes', *, base_dir: 'str | os.PathLike[str] | None' = None, document: 'str | None' = None) -> 'Self'Read PrjMbd bytes.
classmethodfrom_file(cls, path: 'str | os.PathLike[str]') -> 'Self'Read a ``.PrjMbd`` file; members resolve against its folder.
methodmember_for_path(self, path: 'str | os.PathLike[str]') -> 'PrjMbdMember | None'Find a member by path, ignoring case and separator style.
propertymembers -> 'tuple[PrjMbdMember, ...]'All ``Document<n>``-like members in numeric order, visible or not.
propertysystem_design_member -> 'PrjMbdMember | None'The first Altium-visible ``.MbsDoc`` member, or None.
class

AltiumSystem

from altium_monkey.altium_system import AltiumSystem
class AltiumSystem(project: 'AltiumMultiboardProject') -> 'None'

Read-only System facade; each child is prepared once in this generation.

Native link/alias evidence remains available in netlist. The common C0 graph stores complete admitted child-net inventory, including internal nets that have no MBS endpoint. Unresolved endpoints do not acquire invented net IDs.

Members (15)
KindSignatureSummary
methodaliases_for_net(self, net_id: 'str') -> 'tuple[MbsNetAlias, ...]'
propertycompilation -> 'AltiumCompilation'Lazily check complete data from the retained System and child generations.
propertycompiled_view -> 'AltiumCompiledView'Relationships over this preparation, without rereads.
methoddeclared_system_documents(self) -> 'tuple[PrjMbdMember, ...]'Return captured visible drawing declarations, including duplicates/missing.
propertyendpoints -> 'tuple[AltiumSystemEndpoint, ...]'
methodfields_for_endpoint(self, terminal_source_key: 'str') -> 'tuple[AltiumSchematicSourceField, ...]'Trace an MBS source pin through the exact prepared child net.
methodfields_for_net(self, net_id: 'str') -> 'tuple[AltiumSystemSourceField, ...]'Trace one System net to exact source fields across all member boards.
classmethodfrom_file(cls, path: 'str | os.PathLike[str]') -> 'AltiumSystem'
methodimpacts_for_field(self, definition_id: 'str', source_field: 'AltiumSchematicSourceField') -> 'tuple[AltiumSystemFieldImpact, ...]'Every module occurrence, including ones absent from the selected link.
methodnet_for_endpoint(self, terminal_source_key: 'str') -> 'str | None'Parent net from native closure, independently of this pin's child join.
propertynetlist -> 'MbsSystemNetlist'Existing V1 native links/aliases; child_net_ref retains its V1 meaning.
methodprepared_design_for_definition(self, definition_id: 'str') -> 'AltiumPreparedDesign'Read the owning child snapshot, including exact source-pin queries.
methodproject_for_definition(self, definition_id: 'str') -> 'Path'Return prepared child source context, including children without pins.
methodschematic_graphics(self, realized_page_ref: 'str', *, instance_path: 'Sequence[str]', limits: 'SchematicContractLimits | None' = None) -> 'PreparedSchematicGraphics'Render a retained child page with electrical queries scoped to this System.
propertystructural_graph -> 'AltiumStructuralGraph'
class

AltiumSystemEndpoint

from altium_monkey.altium_system import AltiumSystemEndpoint
class AltiumSystemEndpoint(terminal_source_key: 'str', module_source_key: 'str', instance_id: 'str | None', definition_id: 'str | None', project_path: 'Path | None', endpoint: 'AltiumDesignEndpoint | None') -> 'None'

Source MBS pin and its exact prepared child occurrence, when admitted.

class

AltiumSystemFieldImpact

from altium_monkey.altium_system import AltiumSystemFieldImpact
class AltiumSystemFieldImpact(instance_id: 'str', module_source_key: 'str', definition_id: 'str', net_id: 'str', physical_document_key: 'str') -> 'None'

One source-field impact within one module occurrence and Design net.

class

AltiumSystemSourceField

from altium_monkey.altium_system import AltiumSystemSourceField
class AltiumSystemSourceField(definition_id: 'str', project_path: 'Path', instance_ids: 'tuple[str, ...]', source_field: 'AltiumSchematicSourceField') -> 'None'

One authored field qualified by project, with selected module occurrences.

class

MbsChildContributor

from altium_monkey.altium_multiboard_netlist import MbsChildContributor
class MbsChildContributor(kind: 'MbsChildContributorKind', text: 'str', document_path: 'str', object_unique_id: 'str') -> 'None'

One child object that carries a name of a child net.

Attributes: kind: Net label, port, or power port. text: The name it carries. document_path: Child document path as the compiled project reports it: POSIX and relative to the child project folder when the document lies below it. object_unique_id: The object's unique id in that document.

class

MbsChildContributorAliasSource

from altium_monkey.altium_multiboard_netlist import MbsChildContributorAliasSource
class MbsChildContributorAliasSource(design_unit: 'str', document_path: 'str', object_unique_id: 'str', object_kind: 'MbsChildContributorKind') -> 'None'

A child object (net label, port, power port) that names a child net.

class

MbsChildJoin

from altium_monkey.altium_multiboard_netlist import MbsChildJoin
class MbsChildJoin(terminal_ref: 'MbsObjectRef', module_ref: 'MbsObjectRef', design_unit: 'str | None', status: 'MbsChildJoinStatus', reason: 'MbsChildJoinReason | None', component_unique_id: 'str | None', pin_unique_id_name: 'str | None', child_net_ref: 'str | None', child_net_name: 'str | None') -> 'None'

The compiled child pin behind one module terminal.

The join is exact only: the system component ``SourceId`` equals the ``DM_UniqueId`` of a child component marked ``System=Connector``, and the system pin ``SourceId`` equals the child pin ``UniqueIdName``, case-sensitive, with no name or pin-number fallback.

Attributes: terminal_ref: The system pin. module_ref: The module occurrence that owns the terminal. design_unit: Normalized path of the resolved child project member, or None when the module did not resolve. status: ``exact`` or ``unresolved``. reason: Why the join failed, or None when it is exact. component_unique_id: The system component ``SourceId``, or None. pin_unique_id_name: The system pin ``SourceId``, or None. child_net_ref: The child net holding the pin, or None. It is a compiled net id, valid within one netlist only: a later compile or a rename can change it. Pin and object unique ids are the durable targets. child_net_name: The live child net name as Altium's import computes it: None when the net has no pin, or one pin and fewer than two net items; else the flattened net name.

class

MbsChildNet

from altium_monkey.altium_multiboard_netlist import MbsChildNet
class MbsChildNet(design_unit: 'str', ref: 'str', name: 'str', name_is_generated: 'bool', pin_count: 'int', item_count: 'int', contributors: 'tuple[MbsChildContributor, ...]') -> 'None'

One compiled flat net of a child project that a terminal joins.

Attributes: design_unit: Normalized path of the child project member. ref: The compiled net id within that child project, valid within one netlist only. name: The flattened net name. name_is_generated: True when no net label, port, or power port names the net. pin_count: Pins on the net. item_count: Net items other than wires (pins, labels, ports, ...). contributors: Objects that name the net, in compiled item order.

class

MbsChildNetAliasSource

from altium_monkey.altium_multiboard_netlist import MbsChildNetAliasSource
class MbsChildNetAliasSource(design_unit: 'str', child_net_ref: 'str') -> 'None'

A child project's compiled net name.

class

MbsChildNetOccurrence

from altium_monkey.altium_multiboard_netlist import MbsChildNetOccurrence
class MbsChildNetOccurrence(module_ref: 'MbsObjectRef', design_unit: 'str', child_net_ref: 'str') -> 'None'

A child net as used by one module occurrence.

class

MbsComponent

from altium_monkey.altium_mbsdoc import MbsComponent
class MbsComponent(ref: 'MbsObjectRef', designator: 'str | None', comment: 'str | None', order: 'int', pins: 'tuple[MbsPin, ...]', parameters: 'tuple[MbsParameter, ...]', json_pointer: 'str') -> 'None'

``ComponentData``: an imported connector or a harness-side connector.

Members (2)
KindSignatureSummary
methodpin_for_source_id(self, source_id: 'str') -> 'MbsPin | None'First pin of this component whose ``SourceId`` equals ``source_id``.
propertysource_id -> 'str | None'Child component unique id path (``SourceId``), or None.
class

MbsComponentDefinition

from altium_monkey.altium_mbsdoc import MbsComponentDefinition
class MbsComponentDefinition(ref: 'MbsObjectRef', entry_definition_id: 'int', termination_type: 'int', is_managed: 'bool', design_item_id: 'str | None', source_library_name: 'str | None', database_table_name: 'str | None', vault_guid: 'str | None', item_guid: 'str | None', comment: 'str | None', matched_harness_id: 'str | None', json_pointer: 'str') -> 'None'

A component definition inside a harness definition.

``entry_definition_id`` and ``termination_type`` are raw integers.

class

MbsConflict

from altium_monkey.altium_mbsdoc import MbsConflict
class MbsConflict(ref: 'MbsObjectRef', kind: 'MbsConflictKind', native_type: 'str', is_resolved: 'bool', object: 'MbsKindRef | None', related_objects: 'tuple[MbsKindRef, ...]', old_value: 'str | None', current_value: 'str | None', json_pointer: 'str') -> 'None'

A saved ECO conflict.

Altium saves only conflicts whose old value differs from the current one.

Attributes: kind: Conflict kind from ``$type``. is_resolved: ``isResolved``. object: The conflicted object (a pin for ``PIN_NET_NAME``), resolved pins first; None when absent or dangling. related_objects: Resolved ``relatedObjects`` in stored order; dangling ids are left out and reported. old_value: ``oldValue``, the value when the conflict was recorded. current_value: The value now in the document: the object pin's ``ExternalNetName`` for ``PIN_NET_NAME``, else None.

class

MbsConnection

from altium_monkey.altium_mbsdoc import MbsConnection
class MbsConnection(ref: 'MbsObjectRef', designator: 'str | None', kind: 'MbsConnectionKind', native_type: 'str', parameters: 'tuple[MbsParameter, ...]', entries_connections: 'tuple[MbsEntriesConnection, ...]', json_pointer: 'str', source: 'MbsExternalSource | None' = None, components: 'tuple[MbsComponent, ...]' = (), entries: 'tuple[MbsEntry, ...]' = (), entry_pin_map: 'tuple[tuple[int, int], ...]' = (), connection_entries_connections: 'tuple[MbsEntriesConnection, ...]' = (), inter_connected_entries_connections: 'tuple[MbsEntriesConnection, ...]' = ()) -> 'None'

A logical connection between entries.

Simple connections (direct, wire, wire group) have one entries connection and no components or entries of their own. Compound connections (cable, harness) carry their own components, connection entries, ``entryPinMap``, module-entry links (``entries_connections``), links that start at an inter-connection entry (``inter_connected_entries_connections``), and internal links (``connection_entries_connections``).

Members (3)
KindSignatureSummary
propertyall_entries_connections -> 'tuple[MbsEntriesConnection, ...]'Entry links, inter-connected links, then internal links.
propertyis_compound -> 'bool'True for cable and harness connections.
propertyphysical_connections -> 'tuple[MbsPhysicalConnection, ...]'Every physical link of this connection, in stored order.
class

MbsConnectionEntriesConnectionDefinition

from altium_monkey.altium_mbsdoc import MbsConnectionEntriesConnectionDefinition
class MbsConnectionEntriesConnectionDefinition(ref: 'MbsObjectRef', order: 'int', entry1: 'int', entry2: 'int', connections: 'tuple[tuple[str, str], ...]', json_pointer: 'str') -> 'None'

A connection entries connection definition.

``entry1`` and ``entry2`` are raw entry definition ids. ``connections`` pairs ``connections1`` with ``connections2`` by position, stopping at the shorter list, and is empty unless both lists are stored (Altium's ``Zip``).

class

MbsContainer

from altium_monkey.altium_mbsdoc import MbsContainer
class MbsContainer(members: 'tuple[MbsContainerMember, ...]' = (), format_version: 'int | None' = None, modified: 'str | None' = None) -> 'None'

MbsDoc archive listing and ``core.json`` facts.

Attributes: members: Every archive member in archive order, duplicates included. format_version: ``core.json`` ``version``, or None when unavailable. modified: ``core.json`` ``modified`` timestamp text, or None.

Members (3)
KindSignatureSummary
methodmember(self, name: 'str') -> 'MbsContainerMember | None'Return the first member whose normalized name equals ``name``.
methodmember_for_role(self, role: 'MbsContainerMemberRole') -> 'MbsContainerMember | None'The first unshadowed member with ``role``, in archive order.
propertypages -> 'tuple[MbsContainerMember, ...]'Every page member in archive order, as Altium loads them.
class

MbsContainerMember

from altium_monkey.altium_mbsdoc import MbsContainerMember
class MbsContainerMember(index: 'int', raw_name: 'str', name: 'str', size: 'int', compressed_size: 'int', compression_method: 'int', role: 'MbsContainerMemberRole', page_id: 'int | None' = None, shadowed: 'bool' = False, platform: 'int' = 0) -> 'None'

One archive member, in archive order.

Attributes: index: Zero-based position in the archive's central directory. raw_name: Stored name, for example ``Pages\page_1.json``, decoded as UTF-8 (U+FFFD for invalid bytes) as .NET decodes it. name: Name with backslashes normalized to ``/``. size: Declared uncompressed size in bytes. compressed_size: Stored compressed size in bytes. compression_method: ZIP compression method (0 is stored, 8 is deflate, 9 is Deflate64; any other method is unreadable). role: Member role from the file name. Any file name containing ``page_`` is a page, at any folder depth. page_id: Page id when the file name is ``page_<digits>.json`` and the digits fit an Int32, else None. shadowed: True when an earlier member has the same normalized name, or, for a well-known role other than a page, the same file name; the earlier member wins. Pages are never shadowed: Altium loads every page member. platform: The "version made by" host byte of the central directory entry (3 is Unix); it decides how ``file_name`` splits the name.

Members (2)
KindSignatureSummary
propertyat_root -> 'bool'True when the member is not inside a folder.
propertyfile_name -> 'str'.NET ``ZipArchiveEntry.Name``, which Altium matches members by:
class

MbsEntriesConnection

from altium_monkey.altium_mbsdoc import MbsEntriesConnection
class MbsEntriesConnection(ref: 'MbsObjectRef', entry1: 'MbsObjectRef | None', entry2: 'MbsObjectRef | None', physical_connections: 'tuple[MbsPhysicalConnection, ...]', unknown_links: 'tuple[MbsUnknownElement, ...]', json_pointer: 'str') -> 'None'

An entries connection: two entries and their physical links.

Unmodeled physical connection variants are listed in ``unknown_links``.

class

MbsEntry

from altium_monkey.altium_mbsdoc import MbsEntry
class MbsEntry(ref: 'MbsObjectRef', defined_designator: 'str | None', calculated_designator: 'str | None', entry_type: 'MbsEntryType | int', is_system: 'bool', logical_connection: 'MbsObjectRef | None', linked_component: 'MbsObjectRef | None', parameters: 'tuple[MbsParameter, ...]', pins: 'tuple[MbsObjectRef, ...]', json_pointer: 'str', is_connection_entry: 'bool' = False, is_inter_connection: 'bool' = False, termination_type: 'int | None' = None) -> 'None'

A module entry or a connection entry (system connector side).

Attributes: pins: Pins whose final ``entryPinMap`` row names this entry, in first row order. A pin mapped twice belongs to the entry of its last row (Altium's entry pin map overwrites). logical_connection: Resolved ``logicalConnection``, or None. linked_component: Resolved ``linkedComponent``, or None. is_connection_entry: True for entries owned by a compound connection. is_inter_connection: ``isInterConnection`` (connection entries). termination_type: Raw ``terminationType`` value, or None when absent.

Members (1)
KindSignatureSummary
propertydesignator -> 'str | None'The defined designator when set, else the calculated one.
class

MbsEntryDefinition

from altium_monkey.altium_mbsdoc import MbsEntryDefinition
class MbsEntryDefinition(ref: 'MbsObjectRef', order: 'int', termination_type: 'int', entry_type: 'MbsEntryType | int', designator: 'str | None', display_designator: 'str | None', matched_harness_id: 'str | None', json_pointer: 'str') -> 'None'

An entry definition inside a harness definition.

class

MbsEntryMapping

from altium_monkey.altium_multiboard_netlist import MbsEntryMapping
class MbsEntryMapping(entry_ref: 'MbsObjectRef', mapped_pin_count: 'int', total_pin_count: 'int') -> 'None'

Mapped and total pin counts of one entry of a logical connection.

class

MbsExternalSource

from altium_monkey.altium_mbsdoc import MbsExternalSource
class MbsExternalSource(json_pointer: 'str', source_type: 'MbsSourceType | int' = <MbsSourceType.LOCAL: 0>, source_project: 'str | None' = None, project_guid: 'str | None' = None, project_name: 'str | None' = None, revision_guid: 'str | None' = None, revision_name: 'str | None' = None, board_file_name: 'str | None' = None) -> 'None'

An external data source: where a module or connection comes from.

Absent keys read as their Altium defaults (``LOCAL`` and None). ``source_type`` keeps an unrecognized integer as-is.

Members (1)
KindSignatureSummary
propertyis_empty -> 'bool'True when no project reference is stored (for example ``{}``).
class

MbsFunctionalBlock

from altium_monkey.altium_mbsdoc import MbsFunctionalBlock
class MbsFunctionalBlock(ref: 'MbsObjectRef', designator: 'str | None', title: 'str | None', source: 'str | None', parameters: 'tuple[MbsParameter, ...]', json_pointer: 'str') -> 'None'

A functional block: a named block inside a module.

``source`` is a plain string in the stored object, not an external data source.

class

MbsHarnessDefinition

from altium_monkey.altium_mbsdoc import MbsHarnessDefinition
class MbsHarnessDefinition(ref: 'MbsObjectRef', source: 'MbsExternalSource | None', component_definitions: 'tuple[MbsComponentDefinition, ...]', entry_definitions: 'tuple[MbsEntryDefinition, ...]', connection_entries_connection_definitions: 'tuple[MbsConnectionEntriesConnectionDefinition, ...]', json_pointer: 'str') -> 'None'

A harness definition: a harness source definition.

A synchronization aid written only with Altium's ``MBS.HarnessSource`` option on, and ignored by Altium on load while that option is off. This reader always reads it. It is not topology: the instantiated harness connection stays the connectivity authority.

class

MbsKindRef

from altium_monkey.altium_mbsdoc import MbsKindRef
class MbsKindRef(kind: 'MbsObjectKind', ref: 'MbsObjectRef') -> 'None'

A reference together with the kind it resolved in.

class

MbsLinkAliasSource

from altium_monkey.altium_multiboard_netlist import MbsLinkAliasSource
class MbsLinkAliasSource(link_ref: 'MbsObjectRef', name_origin: 'MbsLinkNameOrigin') -> 'None'

A link's effective name; a rename edits the link's defined name.

class

MbsLinkGroupMapping

from altium_monkey.altium_multiboard_netlist import MbsLinkGroupMapping
class MbsLinkGroupMapping(link_group_ref: 'MbsObjectRef', entries: 'tuple[MbsEntryMapping, ...]') -> 'None'

Pin counts per entry of one logical connection; no derived state.

class

MbsModule

from altium_monkey.altium_mbsdoc import MbsModule
class MbsModule(ref: 'MbsObjectRef', designator: 'str | None', title: 'str | None', is_system: 'bool', source: 'MbsExternalSource | None', components: 'tuple[MbsComponent, ...]', entries: 'tuple[MbsEntry, ...]', parameters: 'tuple[MbsParameter, ...]', entry_pin_map: 'tuple[tuple[int, int], ...]', functional_blocks: 'tuple[MbsFunctionalBlock, ...]', json_pointer: 'str') -> 'None'

``ModuleData``: one board occurrence.

Attributes: entry_pin_map: Raw ``(pin id, entry id)`` rows in stored order. functional_blocks: Functional blocks in stored order.

Members (1)
KindSignatureSummary
methodcomponent_for_source_id(self, source_id: 'str') -> 'MbsComponent | None'First component of this occurrence with ``SourceId`` ``source_id``.
class

MbsModuleOccurrence

from altium_monkey.altium_multiboard_netlist import MbsModuleOccurrence
class MbsModuleOccurrence(module_ref: 'MbsObjectRef', designator: 'str | None', design_unit: 'str | None') -> 'None'

One module of the system document and the child project behind it.

Attributes: module_ref: The module. designator: The module designator (for example ``M3``), or None. design_unit: Normalized path of the resolved child project member, or None when the module did not resolve.

class

MbsModuleResolution

from altium_monkey.altium_multiboard import MbsModuleResolution
class MbsModuleResolution(module_ref: 'MbsObjectRef', status: 'MbsModuleResolutionStatus', rule: 'MbsModuleResolutionRule', member: 'PrjMbdMember | None', authored_source: 'str | None', evidence: 'MbsModuleResolutionEvidence', diagnostics: 'tuple[MultiboardDiagnostic, ...]' = ()) -> 'None'

Resolution of one module occurrence to a PrjMbd board-project member.

Attributes: module_ref: The module occurrence. status: Resolution outcome. rule: Rule that decided the outcome. member: The resolved member, or None unless ``status`` is resolved. authored_source: ``sourceProject`` exactly as stored, or None. evidence: What was compared and found. diagnostics: Resolution diagnostics for this module in report order.

class

MbsModuleResolutionEvidence

from altium_monkey.altium_multiboard import MbsModuleResolutionEvidence
class MbsModuleResolutionEvidence(source_path: 'str | None' = None, source_path_form: 'PrjMbdPathForm | None' = None, source_member: 'PrjMbdMember | None' = None, source_on_disk: 'bool | None' = None, name_keys: 'tuple[str, ...]' = (), name_candidates: 'tuple[PrjMbdMember, ...]' = (), guid_candidates: 'tuple[PrjMbdMember, ...]' = (), mapping_key: 'str | None' = None, mapping_target: 'str | None' = None, board_file_path: 'str | None' = None, board_file_in_project: 'bool | None' = None, board_file_exists: 'bool | None' = None, source_found_by: 'PrjMbdFileMatch | None' = None, board_file_found_by: 'PrjMbdFileMatch | None' = None) -> 'None'

What the resolver compared and found for one module.

Attributes: source_path: ``sourceProject`` normalized; a relative source is recomposed in the PrjMbd folder frame (relative to the PrjMbd folder, or absolute when the system design member is absolute), else it keeps its absolute, UNC, or rooted form. None when no source path is stored. source_path_form: Lexical form of the authored ``sourceProject``. source_member: The member ``source_path`` names, of any kind, or None. source_on_disk: Whether a source that names no member is an existing file; None when not checked (a member, a rooted or drive-relative path, or no folder to resolve against). name_keys: Case-folded project-name keys taken from the module. name_candidates: Board members matched by the project-name stem rule. guid_candidates: Board members whose ``ManagedProjectGUID`` equals the module ``projectGuid``; recorded only for an unresolved module. A GUID never resolves a module. mapping_key: The caller mapping key that applied, if any. mapping_target: The caller mapping value that applied, if any. board_file_path: ``boardFileName`` rebased onto the resolved child folder, relative to the PrjMbd folder; None when not checked. board_file_in_project: Whether ``boardFileName`` lies inside the authored source project folder; None when not checked. board_file_exists: Whether the rebased board file exists; None when not checked. source_found_by: How the source in ``source_on_disk`` was found. board_file_found_by: How the board file in ``board_file_exists`` was found.

class

MbsNetAlias

from altium_monkey.altium_multiboard_netlist import MbsNetAlias
class MbsNetAlias(name: 'str', origin: 'MbsNetAliasOrigin', source: 'MbsNetAliasSource') -> 'None'

One name of a system net and what carries it.

class

MbsObjectRef

from altium_monkey.altium_mbsdoc import MbsObjectRef
class MbsObjectRef(document_id: 'str', path: 'tuple[int, ...]') -> 'None'

Document-scoped identity of a logical object.

Compare refs, not ``full_id`` text: a ``document_id`` containing a backslash makes the joined text ambiguous (Altium's full id has the same flaw), while ``(document_id, path)`` stays exact.

Attributes: document_id: MbsDoc ``uniqueId``, or the fallback document path when the document has none. path: Integer ids from the top-level owner down to the object itself, for example ``(module, component, pin)``.

Members (4)
KindSignatureSummary
methodchild(self, object_id: 'int') -> 'MbsObjectRef'Reference to an object owned by this one.
propertyfull_id -> 'str'``uniqueId\a\b\id``, Altium's full id form.
propertyid -> 'int'The object's own integer id (document-local, not unique).
propertyparent -> 'MbsObjectRef | None'Reference to the owning object, or None for a top-level object.
class

MbsParameter

from altium_monkey.altium_mbsdoc import MbsParameter
class MbsParameter(ref: 'MbsObjectRef', name: 'str', value: 'str | None', json_pointer: 'str') -> 'None'

One ``ParameterData`` entry.

Attributes: ref: Parameter identity (owner path plus parameter id). name: Parameter name; an absent name reads as the empty string. value: Parameter value, or None when the ``value`` key is absent (Newtonsoft omits a null value). json_pointer: Location in ``logical.json``.

class

MbsPhysicalConnection

from altium_monkey.altium_mbsdoc import MbsPhysicalConnection
class MbsPhysicalConnection(ref: 'MbsObjectRef', designator: 'str | None', kind: 'MbsPhysicalConnectionKind', native_type: 'str', pin_pair: 'MbsPinPair | None', parameters: 'tuple[MbsParameter, ...]', entry1: 'MbsObjectRef | None', entry2: 'MbsObjectRef | None', json_pointer: 'str') -> 'None'

One physical link inside an entries connection.

``entry1`` and ``entry2`` repeat the owning entries connection's entries.

class

MbsPin

from altium_monkey.altium_mbsdoc import MbsPin
class MbsPin(ref: 'MbsObjectRef', pin_id: 'str | None', name: 'str | None', number: 'str | None', parameters: 'tuple[MbsParameter, ...]', json_pointer: 'str') -> 'None'

``PinData``: one connector pin snapshot.

``external_net_name`` is None when the ``ExternalNetName`` parameter is absent (the child pin had no eligible net at import) or has no value.

Members (6)
KindSignatureSummary
propertycomponent -> 'MbsObjectRef | None'The owning component.
propertycompound_connection_source_id -> 'str | None'Stored ``SystemDesignCompoundConnectionSourceId``, or None.
propertyexternal_net_name -> 'str | None'Persisted ``ExternalNetName`` snapshot, or None when absent.
methodparameter(self, name: 'str') -> 'MbsParameter | None'The first parameter called ``name`` (exact case), or None.
propertyparent_source_id -> 'str | None'Child component unique id path (``ParentSourceId``), or None.
propertysource_id -> 'str | None'Child pin unique id (``SourceId``), or None when absent.
class

MbsPinPair

from altium_monkey.altium_mbsdoc import MbsPinPair
class MbsPinPair(ref: 'MbsObjectRef', pin1: 'MbsObjectRef | None', pin2: 'MbsObjectRef | None', defined_name: 'str | None', parameters: 'tuple[MbsParameter, ...]', json_pointer: 'str', pin1_is_no_pin: 'bool' = False, pin2_is_no_pin: 'bool' = False, pin1_source_id: 'int | None' = None, pin2_source_id: 'int | None' = None) -> 'None'

A pin pair: the two pins of one link and its defined name.

A side stored as ``MBS_NO_PIN_ID`` is Altium's ``NoPin`` placeholder: the pin is None and the matching ``pin*_is_no_pin`` flag is True.

class

MbsPlaceableComponent

from altium_monkey.altium_mbsdoc import MbsPlaceableComponent
class MbsPlaceableComponent(ref: 'MbsObjectRef', designator: 'str | None', comment: 'str | None', source: 'MbsExternalSource | None', components: 'tuple[MbsComponent, ...]', entries: 'tuple[MbsEntry, ...]', parameters: 'tuple[MbsParameter, ...]', entry_pin_map: 'tuple[tuple[int, int], ...]', json_pointer: 'str') -> 'None'

A logical placeable component (format version 2).

The drawing-side schematic payload (``binarySchData``) lives on the page, not here.

class

MbsPowerPort

from altium_monkey.altium_mbsdoc import MbsPowerPort
class MbsPowerPort(ref: 'MbsObjectRef', json_pointer: 'str') -> 'None'

A power port: the stored object holds only an id.

class

MbsSystemNet

from altium_monkey.altium_multiboard_netlist import MbsSystemNet
class MbsSystemNet(index: 'int', terminals: 'tuple[MbsObjectRef, ...]', links: 'tuple[MbsObjectRef, ...]', child_nets: 'tuple[MbsChildNetOccurrence, ...]', aliases: 'tuple[MbsNetAlias, ...]') -> 'None'

One system-level net across boards (an altium_monkey definition).

A connected component over link endpoints, harness internal links, and terminals of one module occurrence joined to the same named child net. It has no primary name; ``aliases`` lists every name with its source.

Attributes: index: Position in first-terminal order. terminals: Member pins in terminal order. links: Member links in link order. child_nets: Child nets per module occurrence. aliases: Every name, grouped by origin, each once per source.

Members (1)
KindSignatureSummary
propertynames -> 'tuple[str, ...]'Distinct alias names in alias order.
class

MbsSystemNetlist

from altium_monkey.altium_multiboard_netlist import MbsSystemNetlist
class MbsSystemNetlist(nets: 'tuple[MbsSystemNet, ...]', links: 'tuple[MbsLink, ...]', link_groups: 'tuple[MbsLinkGroupMapping, ...]', terminals: 'tuple[MbsTerminal, ...]', occurrences: 'tuple[MbsModuleOccurrence, ...]', child_nets: 'tuple[MbsChildNet, ...]', diagnostics: 'tuple[MultiboardDiagnostic, ...]', connectivity_complete: 'bool') -> 'None'

System nets of one multi-board project, with their links and aliases.

Attributes: nets: System nets in first-terminal order. links: Per-link nets in connection order. link_groups: Mapped and total pin counts per logical connection. terminals: Every connector pin with its links and child join. occurrences: Every module with its designator and child project. child_nets: Compiled child nets joined by at least one terminal. diagnostics: Every diagnostic behind the netlist, in order: the system document's read diagnostics, module resolution diagnostics, harness name cycles, then child compile, join, and stale-name diagnostics. connectivity_complete: False when the system document's topology is incomplete, a harness name chain cycles, or any module terminal has no exact child join (unresolved module, failed compile, missing component or pin).

Members (6)
KindSignatureSummary
methodchild_net(self, design_unit: 'str', child_net_ref: 'str') -> 'MbsChildNet | None'The joined child net ``child_net_ref`` of ``design_unit``, for
methodnet_of(self, terminal: '_RefLike') -> 'MbsSystemNet | None'The system net holding ``terminal`` (a pin reference or full id).
methodnets_with_alias(self, name: 'str') -> 'tuple[MbsSystemNet, ...]'System nets with an alias equal to ``name`` (exact, case-sensitive).
methodsystem_nets_for_child_net(self, design_unit: 'str', child_net_ref: 'str') -> 'tuple[MbsSystemNet, ...]'System nets fed by one child net, across every occurrence of that
methodto_dto(self) -> 'SystemNetlistV1'The generated v1 transport DTO
methodto_json(self) -> 'bytes'The v1 DTO as UTF-8 JSON bytes; read it back with
class

MbsTerminal

from altium_monkey.altium_multiboard_netlist import MbsTerminal
class MbsTerminal(ref: 'MbsObjectRef', owner_ref: 'MbsObjectRef', entry_ref: 'MbsObjectRef | None', pin_number: 'str | None', pin_name: 'str | None', snapshot_name: 'str | None', resolved_snapshot_name: 'str | None', links: 'tuple[MbsObjectRef, ...]', child_join: 'MbsChildJoin | None' = None) -> 'None'

One system connector pin.

Attributes: ref: The pin. owner_ref: The module, virtual module, placeable component, or connection that owns the pin's component. entry_ref: The pin's entry (last ``entryPinMap`` row), or None. pin_number: Pin number, or None. pin_name: Pin name, or None. snapshot_name: Persisted ``ExternalNetName``, or None. resolved_snapshot_name: ``ExternalNetName`` as Altium resolves it at runtime (through a harness far end when there is one), or None. links: The links this pin is an endpoint of, in link order. child_join: The compiled child pin behind a module terminal, or None for a pin that is not on a module.

class

MbsTerminalAliasSource

from altium_monkey.altium_multiboard_netlist import MbsTerminalAliasSource
class MbsTerminalAliasSource(terminal_ref: 'MbsObjectRef') -> 'None'

A system pin's persisted ``ExternalNetName`` snapshot.

class

MbsUnknownElement

from altium_monkey.altium_mbsdoc import MbsUnknownElement
class MbsUnknownElement(native_type: 'str | None', json_pointer: 'str', raw: 'JsonValue', topology_bearing: 'bool' = False) -> 'None'

A logical element this reader does not model, kept verbatim.

Attributes: native_type: ``$type`` token, or the registered token of the unmodeled collection (for example ``__logicalPowerPort``); None when a polymorphic element has no ``$type``. json_pointer: Location in ``logical.json``. raw: The element's JSON value, unchanged. It takes part in equality but not in the hash, so the element and every element holding it stay hashable. topology_bearing: True when the element sits where connectivity is stored, so skipping it leaves connectivity incomplete.

class

MbsVirtualModule

from altium_monkey.altium_mbsdoc import MbsVirtualModule
class MbsVirtualModule(ref: 'MbsObjectRef', designator: 'str | None', title: 'str | None', components: 'tuple[MbsComponent, ...]', entries: 'tuple[MbsEntry, ...]', parameters: 'tuple[MbsParameter, ...]', entry_pin_map: 'tuple[tuple[int, int], ...]', json_pointer: 'str') -> 'None'

A virtual module (format version 2): a module with no source.

Its components, pins, and entries share the module identity kinds, so connections into a virtual module resolve like connections into a module.

class

MultiboardDiagnostic

from altium_monkey.altium_multiboard import MultiboardDiagnostic
class MultiboardDiagnostic(code: 'MultiboardDiagnosticCode | str', severity: 'MultiboardDiagnosticSeverity', message: 'str', document: 'str | None' = None, section: 'str | None' = None, module_ref: 'str | None' = None, element_id: 'str | None' = None, detail: 'str | None' = None) -> 'None'

One multi-board diagnostic.

Attributes: code: Catalog code, or the raw code string when a producer reported a code outside ``MultiboardDiagnosticCode``. severity: Diagnostic severity. message: Human-readable description. document: Case-relative POSIX path of the document, if any. section: Model or file section, for example an INI section name. module_ref: Full id of the module occurrence, if any. element_id: Full id of the element inside the document, if any. detail: Free-form detail, for example an unknown ``$type`` value.

Members (5)
KindSignatureSummary
propertycode_text -> 'str'The code as its stable string value.
classmethodcreate(cls, code: 'MultiboardDiagnosticCode', message: 'str', *, severity: 'MultiboardDiagnosticSeverity | None' = None, document: 'str | None' = None, section: 'str | None' = None, module_ref: 'str | None' = None, element_id: 'str | None' = None, detail: 'str | None' = None) -> 'Self'Build a catalog diagnostic, applying the catalog severity.
classmethodfrom_dto(cls, dto: 'MultiboardDiagnosticDto') -> 'Self'Adapt a generated envelope DTO; unknown codes are kept as strings.
propertytarget -> 'str | None'Most specific locator: element, module, detail, section, document.
methodto_dto(self) -> 'MultiboardDiagnosticDto'Return the generated envelope DTO; absent locators are omitted.
class

MultiboardDiagnosticLedgerDiff

from altium_monkey.altium_multiboard import MultiboardDiagnosticLedgerDiff
class MultiboardDiagnosticLedgerDiff(missing: 'tuple[MultiboardDiagnosticLedgerEntry, ...]', unexpected: 'tuple[MultiboardDiagnosticLedgerEntry, ...]') -> 'None'

Multiset difference between an expected ledger and actual diagnostics.

Members (1)
KindSignatureSummary
propertymatches -> 'bool'True when the ledger and the diagnostics are equal as multisets.
class

MultiboardDiagnosticLedgerEntry

from altium_monkey.altium_multiboard import MultiboardDiagnosticLedgerEntry
class MultiboardDiagnosticLedgerEntry(code: 'str', severity: 'MultiboardDiagnosticSeverity', target: 'str | None' = None) -> 'None'

One expected diagnostic in a test ledger: code, severity, and target.

Members (1)
KindSignatureSummary
classmethodfrom_diagnostic(cls, diagnostic: 'MultiboardDiagnostic') -> 'Self'Project a diagnostic onto its ledger key.
class

MultiboardDiagnostics

from altium_monkey.altium_multiboard import MultiboardDiagnostics
class MultiboardDiagnostics() -> 'None'

Ordered collector of multi-board diagnostics.

``unknown_field`` reports are aggregated: one diagnostic per (element kind, field) keeps the position of the first occurrence, and its message carries the running occurrence count.

Members (9)
KindSignatureSummary
methodadd(self, diagnostic: 'MultiboardDiagnostic') -> 'None'Append a diagnostic, keeping report order.
methodcode_counts(self) -> 'dict[str, int]'Diagnostic count per code, in first-seen order.
methodemit(self, code: 'MultiboardDiagnosticCode', message: 'str', *, severity: 'MultiboardDiagnosticSeverity | None' = None, document: 'str | None' = None, section: 'str | None' = None, module_ref: 'str | None' = None, element_id: 'str | None' = None, detail: 'str | None' = None) -> 'MultiboardDiagnostic'Create a catalog diagnostic, append it, and return it.
propertyhas_errors -> 'bool'True when any diagnostic is an error or fatal.
propertyhas_fatal -> 'bool'True when any diagnostic is fatal.
propertyitems -> 'tuple[MultiboardDiagnostic, ...]'Diagnostics in report order.
methodnote_unknown_field(self, kind: 'str', field: 'str', *, document: 'str | None' = None) -> 'None'Record one unknown field occurrence on an element of ``kind``.
methodto_dtos(self) -> 'list[MultiboardDiagnosticDto]'Return the generated envelope DTOs in report order.
methodunknown_field_counts(self) -> 'dict[tuple[str, str], int]'Occurrence count per (element kind, field), in first-seen order.
class

PrjMbdMember

from altium_monkey.altium_prjmbd import PrjMbdMember
class PrjMbdMember(section: 'str', index: 'int', line: 'int', altium_visible: 'bool', authored_path: 'str', normalized_path: 'str', path_form: 'PrjMbdPathForm', resolved_path: 'Path | None', exists: 'bool | None', kind: 'PrjMbdMemberKind', document_unique_id: 'str | None', managed_project_guid: 'str | None', vault_guid: 'str | None', project_name: 'str | None', options: 'tuple[tuple[str, str], ...]', found_by: 'PrjMbdFileMatch | None' = None) -> 'None'

One ``Document<n>``-like member section of a multi-board project.

Attributes: section: INI section name as authored, for example ``Document3``. index: Numeric ``n`` of the section name (0 to 2**32 - 1). line: 1-based line of the section's first header. altium_visible: Whether this member is in Monkey's usable projection of Altium's view: an exact-case ``Document<n>`` with ``n >= 1`` and no leading zero, within the run contiguous from ``Document1``, holding an exact-case ``DocumentPath`` key. The section/run rule mirrors Altium enumeration; the path-key requirement is Monkey's public-reader contract and does not settle managed-only members. authored_path: ``DocumentPath`` exactly as written (Windows form). For a section whose only path key differs in case, that key's value. normalized_path: ``/``-separated, lexically collapsed path in the authored case; relative to the PrjMbd folder for relative members. path_form: Lexical form of ``authored_path``. resolved_path: Host path of the member: a relative member joined lexically to the PrjMbd folder, a drive-absolute or UNC member as written (Windows hosts only), with the on-disk case when it was found ignoring case. None for rooted, drive-relative, and empty paths, for a Windows path on another host, or when the reader has no folder. exists: Whether the member is an existing file; None when it was not checked. kind: Kind by extension. document_unique_id: ``DocumentUniqueId``, None when absent or blank. managed_project_guid: ``ManagedProjectGUID``, None when absent or blank. vault_guid: ``VaultGUID``, None when absent or blank. project_name: ``ProjectName``, None when absent or blank. options: Every ``(key, value)`` of the section in file order. found_by: How the member file was found, or None when it was not checked.

function

load_system_netlist_json

from altium_monkey.altium_multiboard_netlist import load_system_netlist_json
def load_system_netlist_json(raw: 'bytes | str') -> 'SystemNetlistV1'

Validate and decode system netlist JSON written by ``MbsSystemNetlist.to_json``.

The payload's own ``schema`` field selects the contract; only ``altium_monkey.multiboard.system_netlist.v1`` is accepted.

Raises: ValueError: The payload is not JSON or names another schema. GeneratedSchemaDecodeError: The payload fails the v1 schema.

constant

MBS_NO_PIN_ID

from altium_monkey.altium_mbsdoc import MBS_NO_PIN_ID
MBS_NO_PIN_ID: int
enum

MbsChildContributorKind

from altium_monkey.altium_multiboard_netlist import MbsChildContributorKind
enum MbsChildContributorKind

Kind of child object that names a child net.

Members (3)
KindSignatureSummary
memberNET_LABEL= 'net_label'
memberPORT= 'port'
memberPOWER_PORT= 'power_port'
enum

MbsChildJoinReason

from altium_monkey.altium_multiboard_netlist import MbsChildJoinReason
enum MbsChildJoinReason

Why a terminal has no child pin.

Members (4)
KindSignatureSummary
memberMODULE_UNRESOLVED= 'module_unresolved'
memberCHILD_COMPILE_FAILED= 'child_compile_failed'
memberCOMPONENT_NOT_FOUND= 'component_not_found'
memberPIN_NOT_FOUND= 'pin_not_found'
enum

MbsChildJoinStatus

from altium_monkey.altium_multiboard_netlist import MbsChildJoinStatus
enum MbsChildJoinStatus

Whether a terminal joined a pin of its compiled child project.

Members (2)
KindSignatureSummary
memberEXACT= 'exact'
memberUNRESOLVED= 'unresolved'
enum

MbsConflictKind

from altium_monkey.altium_mbsdoc import MbsConflictKind
enum MbsConflictKind

Conflict kind, from the conflict ``$type``.

Members (1)
KindSignatureSummary
memberPIN_NET_NAME= 'pin_net_name'
enum

MbsConnectionKind

from altium_monkey.altium_mbsdoc import MbsConnectionKind
enum MbsConnectionKind

Logical connection kind, from the connection ``$type``.

Members (5)
KindSignatureSummary
memberDIRECT= 'direct'
memberWIRE= 'wire'
memberWIRE_GROUP= 'wire_group'
memberCABLE= 'cable'
memberHARNESS= 'harness'
enum

MbsContainerMemberRole

from altium_monkey.altium_mbsdoc import MbsContainerMemberRole
enum MbsContainerMemberRole

Role of an archive member, from its file name (the last name part).

Members (8)
KindSignatureSummary
memberSTYLES= 'styles'
memberCORE= 'core'
memberPARAMETERS= 'parameters'
memberLOGICAL= 'logical'
memberPAGE= 'page'
memberOPTIONS= 'options'
memberDEFAULTS= 'defaults'
memberUNKNOWN= 'unknown'
enum

MbsEntryType

from altium_monkey.altium_mbsdoc import MbsEntryType
enum MbsEntryType

An entry's ``entryType``.

Members (2)
KindSignatureSummary
memberMALE= 0
memberFEMALE= 1
enum

MbsLinkKind

from altium_monkey.altium_multiboard_netlist import MbsLinkKind
enum MbsLinkKind

Physical kind of one link, from the physical connection ``$type``.

Members (4)
KindSignatureSummary
memberPIN_TO_PIN= 'pin_to_pin'
memberWIRE= 'wire'
memberINTERNAL= 'internal'
memberUNKNOWN= 'unknown'
enum

MbsLinkNameOrigin

from altium_monkey.altium_multiboard_netlist import MbsLinkNameOrigin
enum MbsLinkNameOrigin

Whether a link's effective name is user-defined or derived.

Members (2)
KindSignatureSummary
memberDEFINED= 'defined'
memberDERIVED= 'derived'
enum

MbsModuleResolutionRule

from altium_monkey.altium_multiboard import MbsModuleResolutionRule
enum MbsModuleResolutionRule

Rule that decided a module resolution.

Members (5)
KindSignatureSummary
memberMEMBER_PATH= 'member_path'
memberPROJECT_NAME_STEM= 'project_name_stem'
memberEXPLICIT_MAPPING= 'explicit_mapping'
memberSOURCE_EMPTY= 'source_empty'
memberUNMATCHED= 'unmatched'
enum

MbsModuleResolutionStatus

from altium_monkey.altium_multiboard import MbsModuleResolutionStatus
enum MbsModuleResolutionStatus

Outcome of resolving one module occurrence to a child project.

Members (4)
KindSignatureSummary
memberRESOLVED= 'resolved'
memberUNRESOLVED= 'unresolved'
memberAMBIGUOUS= 'ambiguous'
memberNOT_APPLICABLE= 'not_applicable'
enum

MbsNetAliasOrigin

from altium_monkey.altium_multiboard_netlist import MbsNetAliasOrigin
enum MbsNetAliasOrigin

Where one system net name comes from (an altium_monkey taxonomy).

Members (4)
KindSignatureSummary
memberLINK_NAME= 'link_name'
memberTERMINAL_SNAPSHOT= 'terminal_snapshot'
memberCHILD_NET= 'child_net'
memberCHILD_CONTRIBUTOR= 'child_contributor'
enum

MbsObjectKind

from altium_monkey.altium_mbsdoc import MbsObjectKind
enum MbsObjectKind

Identity namespace of a logical object.

An integer reference resolves only within its expected kind. Module entries, connection entries, and virtual module and placeable component entries share ``ENTRY``; all pins share ``PIN``.

Members (18)
KindSignatureSummary
memberMODULE= 'module'
memberCOMPONENT= 'component'
memberPIN= 'pin'
memberPARAMETER= 'parameter'
memberENTRY= 'entry'
memberCONNECTION= 'connection'
memberENTRIES_CONNECTION= 'entries_connection'
memberPHYSICAL_CONNECTION= 'physical_connection'
memberPIN_PAIR= 'pin_pair'
memberFUNCTIONAL_BLOCK= 'functional_block'
memberCONFLICT= 'conflict'
memberPOWER_PORT= 'power_port'
memberVIRTUAL_MODULE= 'virtual_module'
memberPLACEABLE_COMPONENT= 'placeable_component'
memberHARNESS_DEFINITION= 'harness_definition'
memberCOMPONENT_DEFINITION= 'component_definition'
memberENTRY_DEFINITION= 'entry_definition'
memberCONNECTION_ENTRIES_CONNECTION_DEFINITION= 'connection_entries_connection_definition'
enum

MbsPhysicalConnectionKind

from altium_monkey.altium_mbsdoc import MbsPhysicalConnectionKind
enum MbsPhysicalConnectionKind

Physical connection kind, from the physical connection ``$type``.

``WIRE`` (``__logicalWire``) and ``INTERNAL`` are pin-to-pin subclasses: all three carry a ``pinPair``.

Members (3)
KindSignatureSummary
memberPIN_TO_PIN= 'pin_to_pin'
memberINTERNAL= 'internal'
memberWIRE= 'wire'
enum

MbsSourceType

from altium_monkey.altium_mbsdoc import MbsSourceType
enum MbsSourceType

An external data source's ``sourceType``.

Members (2)
KindSignatureSummary
memberLOCAL= 0
memberMANAGED= 1
enum

MultiboardDiagnosticCode

from altium_monkey.altium_multiboard import MultiboardDiagnosticCode
enum MultiboardDiagnosticCode

Catalog of multi-board diagnostic codes.

``default_severity`` is None for codes whose severity depends on context; the reporter must then pass one of ``allowed_severities``.

Members (51)
KindSignatureSummary
memberDECODE_FALLBACK= 'decode_fallback'
memberINI_MALFORMED_LINE= 'ini_malformed_line'
memberINI_DUPLICATE_SECTION= 'ini_duplicate_section'
memberINI_DUPLICATE_KEY= 'ini_duplicate_key'
memberMEMBER_INDEX_GAP= 'member_index_gap'
memberMEMBER_PATH_EMPTY= 'member_path_empty'
memberMEMBER_PATH_DUPLICATE= 'member_path_duplicate'
memberMEMBER_PATH_ABSOLUTE= 'member_path_absolute'
memberMEMBER_MISSING_ON_DISK= 'member_missing_on_disk'
memberMEMBER_KIND_UNKNOWN= 'member_kind_unknown'
memberSYSTEM_DESIGN_MISSING= 'system_design_missing'
memberSYSTEM_DESIGN_MULTIPLE= 'system_design_multiple'
memberASSEMBLY_MULTIPLE= 'assembly_multiple'
memberSYSTEM_UNIQUE_ID_MISMATCH= 'system_unique_id_mismatch'
memberMEMBER_NOT_ALTIUM_VISIBLE= 'member_not_altium_visible'
memberMEMBER_PATH_OUTSIDE_PROJECT= 'member_path_outside_project'
memberMEMBER_PATH_CASE_MISMATCH= 'member_path_case_mismatch'
memberMEMBER_PATH_CASE_AMBIGUOUS= 'member_path_case_ambiguous'
memberMEMBER_MANAGED_GUID_MISMATCH= 'member_managed_guid_mismatch'
memberCONTAINER_NOT_ZIP= 'container_not_zip'
memberCONTAINER_MEMBER_MISSING= 'container_member_missing'
memberCONTAINER_MEMBER_DUPLICATE= 'container_member_duplicate'
memberCONTAINER_MEMBER_UNKNOWN= 'container_member_unknown'
memberJSON_MALFORMED= 'json_malformed'
memberVERSION_MISSING= 'version_missing'
memberVERSION_UNSUPPORTED= 'version_unsupported'
memberV2_CONTENT_IN_V1= 'v2_content_in_v1'
memberCONTAINER_MEMBER_UNREADABLE= 'container_member_unreadable'
memberCONTAINER_MEMBER_NOT_AT_ROOT= 'container_member_not_at_root'
memberUNKNOWN_TYPE= 'unknown_type'
memberUNKNOWN_FIELD= 'unknown_field'
memberMISSING_REQUIRED_FIELD= 'missing_required_field'
memberFIELD_TYPE_MISMATCH= 'field_type_mismatch'
memberID_COLLISION_SAME_KIND= 'id_collision_same_kind'
memberID_SHARED_ACROSS_KINDS= 'id_shared_across_kinds'
memberDANGLING_REFERENCE= 'dangling_reference'
memberPIN_MAPPED_TO_MULTIPLE_ENTRIES= 'pin_mapped_to_multiple_entries'
memberPIN_PAIR_SIDE_MISMATCH= 'pin_pair_side_mismatch'
memberUNIQUE_ID_MISSING= 'unique_id_missing'
memberID_COLLISION_CROSS_KIND= 'id_collision_cross_kind'
memberMODULE_SOURCE_EMPTY= 'module_source_empty'
memberMODULE_SOURCE_STALE= 'module_source_stale'
memberMODULE_SOURCE_AMBIGUOUS= 'module_source_ambiguous'
memberMODULE_SOURCE_UNRESOLVED= 'module_source_unresolved'
memberMODULE_SOURCE_GUID_UNPROVEN= 'module_source_guid_unproven'
memberBOARD_FILE_MISMATCH= 'board_file_mismatch'
memberCHILD_COMPILE_FAILED= 'child_compile_failed'
memberCHILD_JOIN_UNRESOLVED= 'child_join_unresolved'
memberCHILD_CONNECTOR_UNMARKED= 'child_connector_unmarked'
memberCHILD_NET_NAME_CHANGED= 'child_net_name_changed'
memberHARNESS_NAME_CYCLE= 'harness_name_cycle'
enum

MultiboardDiagnosticSeverity

from altium_monkey.altium_multiboard import MultiboardDiagnosticSeverity
enum MultiboardDiagnosticSeverity

Severity of a multi-board diagnostic, in increasing order.

Members (4)
KindSignatureSummary
memberINFO= 'info'
memberWARNING= 'warning'
memberERROR= 'error'
memberFATAL= 'fatal'
enum

PrjMbdFileMatch

from altium_monkey.altium_prjmbd import PrjMbdFileMatch
enum PrjMbdFileMatch

How a member, module source, or board file path was found on disk.

Members (4)
KindSignatureSummary
memberEXACT= 'exact'
memberCASE_INSENSITIVE= 'case_insensitive'
memberCASE_AMBIGUOUS= 'case_ambiguous'
memberNOT_FOUND= 'not_found'
enum

PrjMbdMemberKind

from altium_monkey.altium_prjmbd import PrjMbdMemberKind
enum PrjMbdMemberKind

Member kind, classified by the member path extension.

Members (8)
KindSignatureSummary
memberSYSTEM_DESIGN= 'system_design'
memberASSEMBLY= 'assembly'
memberBOARD_PROJECT= 'board_project'
memberHARNESS_PROJECT= 'harness_project'
memberMULTIBOARD_PROJECT= 'multiboard_project'
memberBOM= 'bom'
memberLIBRARY= 'library'
memberOTHER= 'other'
enum

PrjMbdPathForm

from altium_monkey.altium_prjmbd import PrjMbdPathForm
enum PrjMbdPathForm

Lexical form of an authored ``DocumentPath``.

Members (5)
KindSignatureSummary
memberRELATIVE= 'relative'
memberDRIVE_ABSOLUTE= 'drive_absolute'
memberUNC= 'unc'
memberROOTED= 'rooted'
memberEMPTY= 'empty'
constant

SYSTEM_NETLIST_SCHEMA

from altium_monkey.altium_multiboard_netlist import SYSTEM_NETLIST_SCHEMA
SYSTEM_NETLIST_SCHEMA: str
altium-monkey v2026.11.26 · gobblerito·Docs updated 2026.11.29 17:55 UTC (0665053)