.. index:: Copy Table

.. _Copy_Table:

Copy Table
==========

Copy Table applies to :ref:`discrete chance nodes<discrete_chance_node>`, :ref:`decision nodes<decision_node>`, :ref:`continuous chance nodes<continuous_chance_node>`, and :ref:`utility nodes<utility_node>`. The only condition that must be met before a table can be copied from one node to another is that the two nodes must have the same number of states and the same number of parent configurations (see Figure 1).

.. figure:: images/CopyTable.png

	Figure 1: Sample CPTs of identical dimensions.

The Copy Table function is activated in :ref:`Edit Mode<edit_mode>` by selecting the node from which you wish to copy the table and clicking the right mouse button (see Figure 2). As shown in Figure 2 the menu item shows which node the table is copied from. To paste the copied table to a given node, you have to select that node, click the right mouse button, and choose the Paste Table item.

.. figure:: images/copytable2.png

	Figure 2: Copy / Paste Table items.