Deleting Elements

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  How to Model... > Elements >

Deleting Elements

Elements can be deleted in one of the following ways:

 

From the Model Tree window. Use this approach if the element should be deleted from the project as well as any diagrams where it is present.
Directly from diagrams where they occur. In this case, you can choose whether the element should be removed from the diagram only, or deleted from the model (project) as well.

 

 

To delete elements from the project and all related diagrams (approach 1):

1.In the Model Tree window, click the element you want to delete. Hold the Ctrl key down to select multiple elements.
2.Press Delete.

 

 

To delete elements from the project and all related diagrams (approach 2):

1.Open a diagram and click the element you want to delete. Hold the Ctrl key down to select multiple elements.
2.Press Delete. A dialog box appears asking to confirm that you want to delete the element both from the project and the diagram.
3.Click Yes. The element is deleted both from the diagram and the project.

 

 

To delete elements from the diagram but not from the project:

1.Open a diagram and click the element(s) you want to remove. Hold the Ctrl key down to select multiple elements.
2.Hold down the Ctrl key and press Delete. The elements are deleted from the diagram but still kept in the project.

 

Before you delete elements from a project, you may want to check if they are used in any diagrams.

 

Right-click an element in the Model Tree, and then select Show element in all diagrams from the context menu.

 

Likewise, when a diagram is open, you can quickly select an element in the Model Tree, as follows:

 

Right-click the element on the diagram, and select Select in Model Tree from the context menu.
Alternatively, click the element on the diagram and press F4.

© 2019 Altova GmbH