Use Interface Editor in Views
This example shows how to use the Interface Editor tool directly from the Architecture Views Gallery to add and edit interfaces using the context of a subset of components from the top model.
Launch Interface Editor in Views
Launch the keyless entry system project.
openProject("scKeylessEntrySystem");After launching the keyless entry system project, the KeylessEntryArchitecture architecture model opens.
To launch the Architecture Views Gallery tool, on the System Composer™ toolstrip of the
KeylessEntryArchitecturearchitecture model, from the Modeling tab, click Architecture Views.In the View Browser, select the
Top Level Componentsview.To dock the Interface Editor tool below your view, on the Architecture Views Gallery toolstrip, from the Design section, click Interface Editor.
To highlight ports, in the Interface Editor tool, expand
Interfaces.sldd, right-click theKeyFOBPositioninterface and select Highlight port(s) using this interface. TheKeyFOBPositioninterface is assigned to these ports.

Add and Edit Data Elements to Data Interfaces Using Interface Editor
To further describe the data interface KeyFOBPositon while considering a subset of components in your architecture view, you can add descriptive data elements to your data interface.
On the Interface Editor, from your
Top Level Componentsview, select theKeyFOBPositiondata interface.Add two data elements by clicking the
button twice. Name the first data element radialDistto represent the distance the FOB is from the electronic keyless system. TheradialDistelement should be of Typedouble, Dimensions1, and Unitsmfor meters. Name the second data elementisInsideVehicleto represent whether the FOB is inside or outside of the vehicle. TheisInsideVehicleelement should be of Typebooleanand Dimensions1.

You can also edit interfaces or elements from the Interface Properties or Interface Element Properties tab on the right of the Architecture Views Gallery.
See Also
Tools
- Architecture Views Gallery | Interface Editor | Requirements Editor (Requirements Toolbox) | Requirements Manager (Requirements Toolbox)
Functions
openViews|createView|getView|deleteView|modifyQuery|runQuery|removeQuery|addElement|removeElement|getQualifiedName|createSubGroup|getSubGroup|deleteSubGroup|getQualifiedName|lookup
Objects
systemcomposer.view.View|systemcomposer.view.ElementGroup|systemcomposer.query.Constraint|systemcomposer.interface.DataInterface|systemcomposer.interface.DataElement