1 .. _removing_nodes_and_elements_page:
3 ***************************
4 Removing nodes and elements
5 ***************************
7 In MESH you can remove nodes and all types of cells of your mesh.
9 * :ref:`removing_nodes_anchor`
10 * :ref:`removing_orphan_nodes_anchor`
11 * :ref:`removing_elements_anchor`
12 * :ref:`clear_mesh_anchor`
16 .. _removing_nodes_anchor:
23 .. |rmn| image:: ../images/remove_nodes_icon.png
25 #. Select your mesh in the Object Browser or in the 3D viewer.
26 #. From the **Modification** menu choose **Remove** and from the associated submenu select the **Nodes**, or just click *"Remove nodes"* button |rmn| in the toolbar.
27 The following dialog box will appear:
29 .. image:: ../images/removenodes.png
33 In this dialog box you can specify one or several nodes:
35 * choose mesh nodes with the mouse in the 3D Viewer. It is possible to select a whole area with a mouse frame; or
36 * input the node IDs directly in **ID Elements** field. The selected nodes will be highlighted in the viewer; or
37 * apply Filters. **Set filter** button allows to apply a filter to the selection of nodes. See more about filters in the :ref:`selection_filter_library_page` page.
39 #. Click **Apply** or **Apply and Close** to confirm deletion of the specified nodes.
42 Be careful while removing nodes because if you remove a definite node of your mesh all adjacent elements will be also deleted.
45 .. _removing_orphan_nodes_anchor:
50 There is a quick way to remove all orphan (free) nodes.
52 *To remove orphan nodes:*
54 .. |rmon| image:: ../images/remove_orphan_nodes_icon.png
56 #. Select your mesh in the Object Browser or in the 3D viewer.
57 #. From the **Modification** menu choose **Remove** and from the associated submenu select **Orphan Nodes**, or just click *"Remove orphan nodes"* button |rmon| in the toolbar.
58 The following Warning message box will appear:
60 .. image:: ../images/removeorphannodes.png
63 #. Confirm nodes removal by pressing "Yes" button.
66 .. _removing_elements_anchor:
71 *To remove an element:*
73 .. |rme| image:: ../images/remove_elements_icon.png
75 #. Select your mesh in the Object Browser or in the 3D viewer.
76 #. From the **Modification** menu choose **Remove** and from the associated submenu select the **Elements**, or just click *"Remove elements"* button |rme| in the toolbar.
78 The following dialog box will appear:
80 .. image:: ../images/removeelements.png
83 In this dialog box you can specify one or several elements:
85 * choose mesh elements with the mouse in the 3D Viewer. It is possible to select a whole area with a mouse frame; or
86 * input the element IDs directly in **ID Elements** field. The selected elements will be highlighted in the viewer; or
87 * apply Filters. **Set filter** button allows to apply a filter to the selection of elements. See more about filters in the :ref:`selection_filter_library_page` page.
89 #. Click **Apply** or **Apply and Close** to confirm deletion of the specified elements.
91 .. image:: ../images/remove_nodes1.png
97 .. image:: ../images/remove_nodes2.png
101 The mesh with some elements removed
104 .. _clear_mesh_anchor:
109 *To remove all nodes and all types of cells in your mesh at once:*
111 .. |clr| image:: ../images/mesh_clear.png
113 #. Select your mesh in the Object Browser or in the 3D viewer.
114 #. From the **Modification** menu choose **Remove** and from the associated submenu select the **Clear Mesh Data**, or just click *"Clear Mesh Data"* button |clr| in the toolbar. You can also right-click on the mesh in the Object Browser and select **Clear Mesh Data** in the pop-up menu.
117 This command works in a different way in different situations:
118 * if the mesh is computed on a geometry, then *Clear Mesh Data* removes all elements and nodes.
119 * if the mesh is not based on a geometry (imported, compound, created from scratch etc.), then *Clear Mesh Data* removes only the elements and nodes computed by algorithms. If no such elements or nodes have been created, can remove nothing.
121 **See Also** a sample TUI Script of a :ref:`tui_removing_nodes_and_elements` operation.