> For the complete documentation index, see [llms.txt](https://docs.rayon.design/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rayon.design/documentation/import-export/pdf-and-image-import.md). Agents can also search and read this documentation through its [MCP server](https://docs.rayon.design/~gitbook/mcp).

# PDF & image import

All about importing files into Rayon.

Rayon supports **high-fidelity import of PDFs, SVGs and images**, with a scaling step, or without for quick import. We detail here how each import flow works.

### PDF importing options <a href="#h_da57c034f0" id="h_da57c034f0"></a>

To **import** **a PDF** file into **Rayon**, start by clicking on **`Import`** in the top right of the project manager and **choose a file**.

<figure><img src="https://2112124689-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FngVHKyaUSSJPTFck3wkz%2Fuploads%2FcCl00FUfZAIJvAZYcQ5N%2Fpdf-import-pm-button.png?alt=media" alt="The Import button next to the New model button at the top right of the project manager."><figcaption></figcaption></figure>

**`Import`** is disabled in a workspace where you can't create models.

Alternatively, you can import from **`Menu`** > **`Import`** within a model.

<figure><img src="https://2112124689-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FngVHKyaUSSJPTFck3wkz%2Fuploads%2FoL3UhtEBljbHYTiGTFVD%2Fpdf-import-menu-pdf.png?alt=media" alt="The main menu open on Import, with the PDF option highlighted."><figcaption></figcaption></figure>

You can also drop one PDF at a time from your file explorer onto the canvas. Files dropped on a 3D canvas are refused, because a 3D canvas only accepts meshes.

Whichever way you start, a PDF has to be under 35 MB. A larger file is refused before you can pick pages.

**In the step that follows, select the pages** you would like to import, and define the formatting for import...\
\
**1.** **`Name`:** Define the name of your model if importing from the project manager.\
**2.** **Toggle `Selection` / `All` pages:** Select specific pages or all of them. You can import up to 10 pages at a time, so **`All`** is not available for a longer PDF.\
\
**`More options`** is collapsed by default. Open it for the rest...\
\
**3.** **`Editable vectors`:** This is on by default, and Rayon will import any editable geometry. If you turn it off, your file will be converted to an image, and you won't be able to edit its geometry. A flat image is a good option for a messy third-party PDF.\
**4.** **`Separate canvases`:** This is off by default, and all selected pages are placed on one canvas, at the same scale. If you turn it on, Rayon will create a new canvas for each selected page, with its own scale. It only shows when you import a PDF with more than one page from the project manager.\
**5.** **`Import clipping masks`:** This is off by default, and Rayon ignores the clipping in your PDF. If you turn it on, clipped content comes in as groups with a clipping path.

Once settings are chosen, click **`Import`** to move on to the scaling step.

<figure><img src="https://2112124689-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FngVHKyaUSSJPTFck3wkz%2Fuploads%2FpDx8WW8MwmQ0GFVeHqMn%2Fpdf-import-dialog.png?alt=media" alt="The Select pages to import dialog with three pages selected and More options open."><figcaption></figcaption></figure>

**From within a model, a one-page PDF skips the page selection step.** It goes straight to the scaling step and always comes in as editable vectors. To import it as an image, start from the project manager and turn off **`Editable vectors`**.

**At this point, a few options are available to you to set the scale** of your imported drawing, by either choosing **`Distance` mode** or **`Scale` mode**.

<figure><img src="https://2112124689-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FngVHKyaUSSJPTFck3wkz%2Fuploads%2FSj2yvW6ja35o4svCSgW5%2Fpdf-scale-measure.png?alt=media" alt=""><figcaption></figcaption></figure>

In **`Distance` mode,** start by drawing a line between two **known points.** You can move around the model to find and use a familiar element (e.g. an existing dimension on your PDF, or a common element such as the width of a door).

**At this point,** pick the correct unit first, then enter the distance of the **blue line that you drew in the previous step.** Changing the unit after typing converts the value you typed. Once you have chosen both the unit and the value, click on **`Continue`**. From the project manager, the import tab becomes your new model. From within a model, the import tab closes and your model reads **`Import is ready. Place it on the canvas.`** Click on the canvas to pick the insertion point.

{% embed url="<https://player.vimeo.com/video/1246533742?autoplay=1&controls=0&loop=1&muted=1>" %}

<figure><img src="https://2112124689-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FngVHKyaUSSJPTFck3wkz%2Fuploads%2FrKHNv5HKoXLksBeffgwQ%2Fpdf-scale-unit.png?alt=media" alt=""><figcaption></figcaption></figure>

In **`Scale` mode,** you'll be asked **`What is the plan's scale?`** Type the ratio after `1:` and check the unit. The scale is usually written in the title block of your PDF.\
If in doubt, use the **`Distance`** mode.

**With `Separate canvases` on, you scale one canvas at a time.** An **`Import pages`** panel lists your canvases, and **`Next page`** replaces **`Continue`** until the last one. On the first canvas, **`Apply to all`** uses the same scale for every canvas.

**After a PDF import from the project manager, Rayon can offer to detect walls.** A message reads **`Convert this plan into native walls and zones with AI.`** Click on **`Detect walls`** to start. You get the same offer after importing an image from the project manager. Detecting walls spends AI credits. Without enough credits, you get a credits prompt instead. More about [generating a floor plan here](broken://pages/Bhdbf8Woc6p7QTxzoJ1t), and about [AI credits here](https://docs.rayon.design/documentation/work-with-ai/ai-credits.md).

### Image importing options <a href="#h_f394ddfeef" id="h_f394ddfeef"></a>

Importing images from the project manager works like PDF importing, without the page selection step. From within a model, an image goes straight onto the canvas, with no scaling step. To import an image from the project manager, you can...

* Click on **`Import`** in the top right of the project manager and **choose a file**. Note that for images, the project manager supports only \*.jpg, \*.jpeg and \*.png formats.
* **Set the scale** of your imported drawing, by either choosing **`Distance` mode** or **`Scale` mode**. Then click on **`Continue`**.

**That's it!** Your file is imported into **a new model.**

**Note that another, simpler way to import images without the scaling step is** to drag and drop multiple images directly from your file explorer to your Rayon model. Also, as with DWGs, images can be imported from within an existing model, by going to **`Menu`** > **`Import`**. From within a model, Rayon also supports \*.webp, \*.heic, \*.bmp and \*.gif formats.

Large images are compressed to about 10 MB when you import them.

### Importing an SVG file

SVG files can be imported directly into Rayon. From within a model, open the **`Menu`**, head to **`Import`**, and choose **`SVG`**.

You can also drop SVG files from your file explorer onto the canvas.

### Importing a RY file <a href="#h_da57c034f0" id="h_da57c034f0"></a>

To **import** **a RY file** (a copy of a Rayon model) into **Rayon**:

* Click on **`Import`** in the top right of the project manager and **choose a file**.
* **That's it!** Your file is imported into **a new model.**

From within a model, open the **`Menu`** and head to **`Import`** > **`Rayon`**. **`File`** merges a RY file into your current model. **`Model`** brings in a canvas from another Rayon model as a reference. More about [references here](https://docs.rayon.design/documentation/import-export/importing-files.md#importing-xrefs).

### Copying from one model to another <a href="#h_da57c034f0" id="h_da57c034f0"></a>

To copy entities from one **Rayon** model to another:

* Select the entities you wish to copy.
* Right-click and choose **`Copy`**, or press **`CMD/CTRL` + `C`**.
* Paste the content in the other Rayon model.

***

### We are always available

Book a demo with our team, [right here](https://b1kzip68v9f.typeform.com/to/Hgr0eQ4k#source=docs).\
To get some support, reach out to us through our **in-app support chat**.\
More about [our support policy right here](https://docs.rayon.design/other-resources/others/support-policy.md).
