You can create fragments based on selected model items.
Prerequisite
You must have selected at least one object. Objects, connections, placed attributes, groupings, graphic objects, and free-form texts are included.
Procedure
In the open model, select the items you want to reuse as fragments.
Right-click in the selection.
Click Create fragment. The Create fragment dialog opens.
Enter a name for the fragment.
If you want the fragment to consider the template of the model it is inserted into, enable the Apply template check box.
If you want the fragment to be available in all model types, and not only in the model type of the current model, enable the Use for all model types check box.
Click OK.
The fragment is created and placed in the Fragments bar. If you do not enter a fragment name in a language, the fragment will be named (Untitled) in this language.
Tip
In the Fragments bar, fragments are sorted and arranged in alphanumerical order. The name you give a fragment determines where it is displayed in the bar. For example, you can place numbers before a fragment name to specify where the fragment is to be inserted.