Class that represents a component or view component
Component class represents a component in the architecture
model. This class inherits from systemcomposer.arch.BaseComponent.
Create a component in an architecture model:
model = systemcomposer.createModel('archModel'); arch=get(model,'Architecture'); component = addComponent(arch,'NewComponent');
ParentArchitecture— Handle to the parent component that owns this component
Architecture— Architecture that defines the component structure
For a component that references a different architecture model, this returns a handle to the root architecture of that model. For variant components, the architecture is that of the active variant.
OwnedArchitecture— The architecture that this component directly owns
For components that reference an architecture, this is be empty. For variant components , this is the architecture in which the individual variant components reside.
Ports— Array of component ports
OwnedPorts— Array of component ports
For all components except Variant View components, this will return the same value
Ports. For Variant View components, this returns the aggregate of
all ports across all Views in which this component is present.
ReferenceName— If linked component, the name of the model that the component references