# How to work with nested scenes (XRefs) in C4D for the Render Network (Advanced)

{% embed url="<https://youtu.be/cz4qjmNedlk>" %}

Like simulations, XRefs need preparations to work correctly on the Render Network.

If you want to include Cinema4D files as nested scenes inside your main project, you need to add the **.c4d** using the "**XRef**" object, which you can find in "**Create**" -> "**XRef**" -> "**Add XRef**".

<figure><img src="https://lh3.googleusercontent.com/Aj3976zLTTmDwmmo0yaFGAfT_rvn_OXWtxg53TzqVhEA_6Upm02nvVTkrb5y0ZrKeKONSoZFkWoyw9pbX8jlG4rr6tWDzAlBBNUTxDpAvQqxdU8Hg9JmKwzz8aihAXDzUcIT7HWygqwhGk2X_woT1JM" alt=""><figcaption></figcaption></figure>

{% hint style="danger" %}
**Please note:** <mark style="color:red;">the “</mark><mark style="color:red;">**Simple XRef**</mark><mark style="color:red;">” object is currently not supported by the Cinema 4D Octane Plugin.</mark>
{% endhint %}

After adding the XRef and saving your scene file, make sure you collect all files next to the project file either by choosing "**File**" -> "**Save Project with Assets**", or by going into the **Project Asset Inspector** and choosing "**Asset**" -> "**Consolidate Assets**" for all assets in the scene.

You will most likely need to turn the link for the XRef into a relative path, and will need to do this right before saving the project file.

Click on the loaded scenefile in the **Project Asset Inspector** and choose "**Asset**" -> "**Localize Filename.**" Make sure that your XRef are using a relative path in the Project Asset Inspector as well as the actual XRef object like this:

<figure><img src="https://lh6.googleusercontent.com/l6BNfDw7G_FMo72h3T7Fd_mDlLZspeqJjgZ9G0V1WHMmlPA2a1uGLcCkDrfjEcSUm-93TOMyiOKNTM5u0JMLaknUC0TTqYa-VoqoIsQ9seHtIhT-W_jl1q-KL2puWscZkwMKCkHYjmmHQjWOSSYyjUk" alt=""><figcaption><p>In this case the Male_1.c4d file is located right next to our actual project file.</p></figcaption></figure>

**Before** creating a Zip-file from the project folder, make sure that your main project file is called **exactly** as the zipped folder you are uploading to the network. All nested project files, which are imported as XRefs, will need to be named differently to the main project file and the folder it is located in.

<figure><img src="/files/wUfY8xv3wnr1MILp8XOZ" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://know.rendernetwork.com/getting-started/cinema-4d-on-render-network-guide/preparing-your-cinema-4d-file-for-the-render-network/how-to-work-with-nested-scenes-xrefs-in-c4d-for-the-render-network-advanced.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
