# Part 2: Set-up Scene

This section uses the scene imported in Part 1. The steps describe how to group RadioButtons with a GroupBox so that only one of the RadioButtons can be selected at a time.

#### Activating the Imported Scene

1. In the Solution Explorer navigate to the imported **IVI\_Sample scene** and **move** it to the solution's scene folder via drag and drop. Please see the origin and destination paths in the table below. 
    - The IVI\_Sample scene has been moved to the Solution's Scenes folder, where you can also find Scene2D and Scene3D.
        
        <table style="width: 600px;"><tbody><tr><td style="width: 150px; background-color: rgb(35, 111, 161);"><span style="color: rgb(255, 255, 255);">Origin Path  
        </span></td><td>Solution &gt; Resources &gt; IVI\_Sample &gt; Scenes &gt; **IVI\_Sample**  
        </td></tr><tr><td style="background-color: rgb(35, 111, 161);"><span style="color: rgb(255, 255, 255);">Destination Path  
        </span></td><td>Solution &gt; Scenes &gt; **IVI\_Sample**  
        </td></tr></tbody></table>
2. Delete the Scene2D and Scene3D that are in folder Solutions &gt; Scenes. 
    - Scene2D and Scene3D are deleted, IVI\_Sample scene is the only scene in this folder.
3. Double-click the **IVI\_Sample scene** to **open** it. 
    - IVI\_Sample scene is displayed in the Scene Editor.
    - IVI\_Sample scene is displayed in the Scene Tree panel.
4. In the **Scene Tree** panel expand to **\[IVI\_Sample &gt; IVI\_Sample &gt; Comfort &gt; Air\]**. 
    - In the Scene Tree panel the air flow RadioButtons are visible.
5. From the Toolbox panel's **\[Nodes 2D\]** section drag a **\[Group\]** node into the **Scene Tree** panel directly onto the **\[Air\]** Group node. 
    - In the Scene Tree panel a new **\[Group\]** node has been created inside the **\[Air\]** Group node.
6. In the Scene Tree panel select the following **RadioButtons** and move them into the newly created **\[Group\]** node via drag and drop. 
    - The respective RadioButton nodes are grouped together in the **\[Group\]** node.
        
        <table style="width: 400px;"><tbody><tr><td style="width: 150px; background-color: rgb(35, 111, 161);"><span style="color: rgb(255, 255, 255);">RadioButtons  
        </span></td><td>RadioButton\_Outside air</td></tr><tr><td style="background-color: rgb(35, 111, 161);"><span style="color: rgb(255, 255, 255);">  
        </span></td><td>RadioButton\_Inside air</td></tr><tr><td style="background-color: rgb(35, 111, 161);"><span style="color: rgb(255, 255, 255);">  
        </span></td><td>RadioButton\_AUTO  
        </td></tr></tbody></table>
7. From the Toolbox panel's **\[Controls\]** section under **\[Container\]** drag a **GroupBox** into the Scene Tree panel directly onto the **\[Air\]** Group node. 
    - A **GroupBox** node is created and is visible in the Scene Tree panel as last entry of the **\[Air\]** Group node.
8. In the Scene Tree panel click on the **little triangle** on the left of the newly created **GroupBox** node. 
    - The **GroupBox** node is **expanded** in the Scene Tree panel and a **Content** anchor gets visible.
9. In the Scene Tree panel drag the **\[Group\]** node with the RadioButtons onto the **\[GroupBox\]**'s Content anchor. 
    - The RadioButtons are now grouped together.
    - You can select **only one** of the grouped radio buttons at a time.
10. In the Scene Tree panel select the **GroupBox** node. In the Properties panel's **\[Control\]** section configure the properties according to the table below.  
    
    - **Enable Background** is set to FALSE.
    - The GroupBox node's background is disabled.  
        <p class="callout info">To easily configure the Default Selected Object lock the Properties panel to the **GroupBox** by clicking on the padlock in the Properties panel's top right corner. From the Scene Tree panel drag **RadioButton\_AUTO** onto the **Default Selected Object** property and release as soon as the cursor changes. Unlock the Properties panel by clicking on the padlock again.</p>
        
        <table style="width: 600px;"><tbody><tr><td style="width: 450px; background-color: rgb(35, 111, 161);"><span style="color: rgb(255, 255, 255);">Default Selected Object  
        </span></td><td style="width: 150px; background-color: rgb(35, 111, 161);"><span style="color: rgb(255, 255, 255);">Enable Background</span>  
        </td></tr><tr><td>IVI\_Sample &gt; Comfort &gt; Air &gt; GroupBox &gt; Content &gt; Group &gt; RadioButton\_AUTO</td><td>FALSE  
        </td></tr></tbody></table>

<div class="contents" id="bkmrk--0"><div class="contents">  
</div></div>