systemcomposer.analysis.Instance

Class that represents an architecture model element in an analysis instance

Description

The Instance class represents an instance of an architecture.

Creation

Create an instance of an architecture

instance = instantiate(modelHandle,architecture,properties,name)

Properties

expand all

This is the name of the instance.

Data Types: char

Every instance has a specification from which it took its form. The kind of the specification depends on the kind of the instance.

Data Types: systemcomposer.arch.Architecture | systemcomposer.arch.Component | systemcomposer.arch.Port | systemcomposer.arch.Connector

Architecture Instance Properties

The components within the architecture.

Data Types: systemcomposer.analysis.ComponentInstance

These are the architecture ports that belong to the architecture instance.

Data Types: systemcomposer.analysis.PortInstance

These are the connectors within the architecture, connecting child components.

Data Types: systemcomposer.analysis.Connectors

Component Instance Properties

The components within the architecture.

Data Types: systemcomposer.analysis.ComponentInstance

These are the architecture ports that belong to the architecture instance.

Data Types: systemcomposer.analysis.PortInstance

These are the connectors within the architecture, connecting child components.

Data Types: systemcomposer.analysis.Connectors

The architecture that contains the component

Data Types: systemcomposer.analysis.Architecture

Port Instance Properties

The component that contains the port

Data Types: systemcomposer.analysis.Component

Connector Instance Properties

The component that contains the connector

Data Types: systemcomposer.analysis.Component

The port from which the connector originates.

Data Types: systemcomposer.analysis.Port

The port from which the connector ends.

Data Types: systemcomposer.analysis.Port

Object Functions

deleteInstanceDelete an architecture instance
getValueGet value of a property from an element instance
instantiateCreate an analysis instance from a specification
isArchitectureFind if an instance is an architecture instance
isComponentFind if an instance is a component instance
isConnectorFind if an instance is a connector instance
isPortFind if an instance is a port instance
loadInstanceLoad an architecture instance
saveInstanceSave an architecture instance
setValueSet the value of a property for an element instance
updateInstanceUpdate an architecture instance

Introduced in R2019a