Blocks
Blocks are the primary elements of systems that can be linked together in trees of modular components.
Context
Blocks can be used to define the data type of other objects in a model, such as full ports (see Ports), parts (see Parts), references (see References) and object nodes (see Object Nodes).
A block can have three kinds of subdiagrams, internal block diagrams (see Internal Block Diagrams), parametric diagrams (see Parametric Diagrams), and sequence diagrams (see Sequence Diagrams).
Procedure
- Drag the Block tool from the toolbox and drop it onto your diagram. Specify a name for it as appropriate.
The following properties are available on the Info tab in the General category:
The other tabs such as Dependencies and Diagrams contain additional properties information. For details, see Object Properties.Property
Description
Name/Code/Comment
Identify the object. The name should clearly convey the object's purpose to non-technical users, while the code, which is used for generating code or scripts, may be abbreviated, and should not normally include spaces. You can optionally add a comment to provide more detailed information about the object. By default the code is synchronized with the name. To decouple name-code synchronization, enter a new code in the Code field.
Block Type
Specify a Block Type in the block's property sheet Info tab General section to identify the type of system component the block represents. The following options are available:
-
Environmental
-
Functional
-
Logical (Software)
-
Logical (Hardware)
-
Logical (Sensor)
Block Template
Reuse attributes from a customized object. Choose a customized object from the drop-down list, and the attributes of the object are added in the selected block. If you reselect another customized object, a dialog pops up asking you whether to keep the attributes from the previous object. You can choose to keep the attributes or delete them. For more information, see Creating Custom Object Types.
-
- Use the tools in the block's context menu to create the following:
Tool
Details

Blocks - Click the tool to create a child block linked to the block with a Composition link. Specify a name for it as appropriate.
The new child block is also displayed in the block's Parts compartment as its new part property.

Constraint Blocks - Click the tool to create a child constraint block (see Constraint Blocks) linked to the block with a Composition link. Specify a name for it as appropriate.
The new child constraint block is also displayed in the block's Constraints compartment as its new constraint property.

Values - Specify properties that characterize the block. For example, the Cellphone block specifies Height, Width, and Screen Size values.
Click the Value tool and specify a value name, data type, and initial value.

Operations - Specify services or features that the block provides or requires. For example, the Cellphone block provides a Connect to Network operation.
Click the Operation tool and specify a feature direction (provided or required), operation name, and return type.

Ports (see Ports) - Select:
-
- Port -
- Full Port -
- Proxy Port

More - Select:
-
Create Internal Block Diagram/ Parametric Diagram/ Sequence Diagram - Select a tool as appropriate to create a subdiagram for the block, which is listed in its property sheet Diagrams tab All Diagrams category.
The new diagram opens in a new tab. The diagram is initialized with a frame, which represents the boundary of the block. All the relevant properties of the block are displayed in the initial layout of the new diagram.
-
Parts - Specify structural components of the block. For example, the Cellphone block contains Antenna, Touchscreen, and Camera parts.Click the Part tool and specify a part name, data type (the block that types the part), and multiplicity.
To create a part as a separate symbol in block definition diagrams, create the part block in the diagram and use the Composition tool to draw a link from the parent to the part block. The properties information of the parent block then gets updated accordingly. -
Constraints - Specify constraints that the block must satisfy. For example, the Cellphone block needs to satisfy the Weight < 150g constraint.Click the Constraint tool, specify an optional constraint name, and either select a constraint block (see Constraint Blocks), or directly enter the constraint specification.
-
Flow Properties - Specify what can pass from one block to another along an item flow. For example, the Cellphone block specifies a Data Packet flow property.Click the Flow Property tool and specify a direction, property name, and multiplicity.
-
References - Specify external structures that are referenced by the block. For example, the Cellphone block references a Device Management block.Click the Reference tool and specify a reference name, data type (referenced block), and multiplicity.
To create a reference as a separate symbol in block definition diagrams, create the reference block in the diagram and use the Aggregation or Association tool to draw a link from the parent to the reference block. Properties information of the parent block then gets updated accordingly.
-
Receptions - Specify signals (see Signals) that can be received by the block. For example, the Cellphone block accepts a Voice Call signal.Click the Reception tool and specify a reference name, data type (referenced block), and multiplicity.

Link – Provides an alternative way to create a link. Select the tool and connect two objects with a default link, then choose Change Link Type to change to another link as appropriate.
This tool is available in both the diagram toolbox and in the context menu of the relevant objects.
-
- [optional] To view a subdiagram owned by the block, click the + icon on the block's symbol to open a list of all its subdiagrams, then select a subdiagram as appropriate.
The diagram opens in a new tab.