Class that represents an architecture in an architecture model


The Architecture class represents an architecture in the model. This class inherits from systemcomposer.base.BaseElement and implements the interface systemcomposer.base.BaseArchitecture.


Create an model and get the root architecture:

model = systemcomposer.createModel('archModel');


expand all

The architecture name is derived from the parent component or model name to which the architecture belongs.

Example: 'system_architecture'

The definition type can be a composition, a behavior model, or a view.

Example: Composition

Data Types: ArchitectureDefinition enum

Object Functions

addComponentAdd a component to the architecture
addVariantComponentAdd a component to the architecture
addPortAdd ports to architecture
connectConnect pairs of components

Introduced in R2019a