> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ideatura.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# DWG (2D) to IFC (3D)

> Build an IFC model from a measured AutoCAD plan, inspect it in Studio and create drawings from the model.

<video controls playsInline preload="metadata" poster="/images/integration-guides/autocad/dwg-source-full.png" aria-label="Read an AutoCAD drawing, build an IFC and create drawings in Studio">
  <source src="https://mintcdn.com/ideatura/snpMeD39MoWIq1NK/videos/integration-guides/autocad/dwg-to-ifc.mp4?fit=max&auto=format&n=snpMeD39MoWIq1NK&q=85&s=79c947d950fbe98782e9f4e27ee2c417" type="video/mp4" />

  <track src="https://docs.ideatura.ai/videos/integration-guides/autocad/dwg-to-ifc.vtt?v=c57704bf" kind="captions" srcLang="en" label="English" default />
</video>

Start with a dimensioned floor plan in AutoCAD. Use a modelling skill to reconstruct the building as an IFC, inspect it in Studio, then ask for a plan, section and elevation.

**1. Open the source drawing**

Download the [example DWG](https://docs.ideatura.ai/files/Garden_Office_Existing.dwg) and open it in AutoCAD. It describes a two-room, single-storey office with 200 mm external walls and a 150 mm partition. Each room measures 5925 × 4000 mm internally.

![The measured Garden Office plan in the complete AutoCAD window, with wall dimensions and door and window positions.](https://mintcdn.com/ideatura/jHvDdirapjLrOTIw/images/integration-guides/autocad/dwg-source-full.png?fit=max\&auto=format\&n=jHvDdirapjLrOTIw\&q=85\&s=9dac403aab62d9ab1e100f2c49b06f19)

**2. Connect AutoCAD**

Start a new conversation in Studio. Open Connected Apps and select the source AutoCAD drawing. Leave the other applications unselected: the resulting IFC will open in Studio's own preview.

![Studio's Connected Apps menu with only the source AutoCAD drawing selected.](https://mintcdn.com/ideatura/jHvDdirapjLrOTIw/images/integration-guides/autocad/portrait-dwg-ifc-connect.png?fit=max\&auto=format\&n=jHvDdirapjLrOTIw\&q=85\&s=9e542a7361f27b29eae0ba1db6541e8f)

**3. Review the modelling skill**

Open Skills and select DWG to IFC. If the skill is not in your workspace, create it using the [instructions from this example](https://docs.ideatura.ai/files/dwg-to-ifc-skill.txt).

Read the skill in the preview. It explains how to interpret wall outlines and openings, handle missing heights, preserve the DWG and check the finished IFC.

![The DWG to IFC modelling skill open in Studio's preview.](https://mintcdn.com/ideatura/jHvDdirapjLrOTIw/images/integration-guides/autocad/wide-dwg-ifc-skill-preview.png?fit=max\&auto=format\&n=jHvDdirapjLrOTIw\&q=85\&s=e3d7b68219bd6119413a223b9fcf4190)

**4. Attach the skill and describe the model**

Return to the conversation, open the skill picker and attach DWG to IFC. Check that the source AutoCAD drawing is still selected, then enter this request:

```text theme={"dark"}
Use the attached DWG to IFC skill to turn the plan open in AutoCAD
into a 3D IFC model. Create walls, a floor, doors and windows.
Use 3 m wall heights and the door and window dimensions shown
in the drawing. Keep the DWG unchanged and show me the finished model.
```

The 3 m wall height is an assumption supplied by the prompt. The drawing provides the 900 × 2100 mm doors and 1800 × 1200 mm windows with 900 mm sills.

![The DWG to IFC skill attached to the conversation.](https://mintcdn.com/ideatura/jHvDdirapjLrOTIw/images/integration-guides/autocad/portrait-dwg-ifc-skill-attached.png?fit=max\&auto=format\&n=jHvDdirapjLrOTIw\&q=85\&s=e68190284600873bbbef6f3ed5ab9442)

![The IFC modelling request entered in Studio, with the skill attached and AutoCAD selected.](https://mintcdn.com/ideatura/jHvDdirapjLrOTIw/images/integration-guides/autocad/portrait-dwg-ifc-prompt.png?fit=max\&auto=format\&n=jHvDdirapjLrOTIw\&q=85\&s=04332d8bc9a8f9c535969e20f198af09)

**5. Follow the reconstruction**

Send the request. Follow the active tool calls in Studio as Ideatura reads the AutoCAD drawing and builds the IFC. Keep the source drawing visible to compare the layout and opening positions.

![Studio showing Thinking and an active tool call during IFC reconstruction.](https://mintcdn.com/ideatura/jHvDdirapjLrOTIw/images/integration-guides/autocad/portrait-dwg-ifc-progress.png?fit=max\&auto=format\&n=jHvDdirapjLrOTIw\&q=85\&s=4ade6c8f5142ac14552cd1156405294b)

![The unchanged source drawing in AutoCAD during IFC reconstruction.](https://mintcdn.com/ideatura/jHvDdirapjLrOTIw/images/integration-guides/autocad/dwg-ifc-source-pane.png?fit=max\&auto=format\&n=jHvDdirapjLrOTIw\&q=85\&s=c0b0cbe2f09246dd6e5d6038c7a8650c)

**6. Open and inspect the IFC**

Ideatura returns the IFC and saves the model in a Studio scene. Open the saved scene in the preview. Orbit around the building to inspect its walls, doors and windows. Use a section to look through the model and check the internal partition and room layout against the DWG.

The example contains five walls, one floor, two doors, two windows and two spaces.

![The reconstructed Garden Office IFC open in Studio's 3D preview.](https://mintcdn.com/ideatura/jHvDdirapjLrOTIw/images/integration-guides/autocad/wide-dwg-ifc-model.png?fit=max\&auto=format\&n=jHvDdirapjLrOTIw\&q=85\&s=d6e36aa5b40cba7867ccb0638d09a373)

![A section through the IFC in Studio showing its internal layout.](https://mintcdn.com/ideatura/jHvDdirapjLrOTIw/images/integration-guides/autocad/wide-dwg-ifc-section.png?fit=max\&auto=format\&n=jHvDdirapjLrOTIw\&q=85\&s=b789fd0be52d590053e42eb8637f9fc0)

**7. Create drawings from the model**

With the saved scene open, ask for the views you want to review:

```text theme={"dark"}
Now make a floor plan, a longitudinal section through both rooms
and a front elevation from this IFC model. Show the three drawings
so I can check them against the original plan.
```

Follow the progress in Studio, then open each drawing. Compare the floor plan with the DWG, use the longitudinal section to check the two rooms and wall heights, and inspect the doors in the front elevation.

![The request for a floor plan, longitudinal section and front elevation entered beside the IFC preview.](https://mintcdn.com/ideatura/jHvDdirapjLrOTIw/images/integration-guides/autocad/wide-dwg-ifc-drawings-prompt.png?fit=max\&auto=format\&n=jHvDdirapjLrOTIw\&q=85\&s=ee6df972282943e3b892d452c98686e8)

![The floor plan created from the Garden Office IFC and opened in Studio.](https://mintcdn.com/ideatura/jHvDdirapjLrOTIw/images/integration-guides/autocad/wide-dwg-ifc-plan.png?fit=max\&auto=format\&n=jHvDdirapjLrOTIw\&q=85\&s=2362df7b1d7dfc603e0857de0e037188)

![The longitudinal section through both rooms, created from the IFC.](https://mintcdn.com/ideatura/jHvDdirapjLrOTIw/images/integration-guides/autocad/wide-dwg-ifc-longitudinal-section.png?fit=max\&auto=format\&n=jHvDdirapjLrOTIw\&q=85\&s=b530078c7db26b51e03493ada1c47bbe)

![The front elevation of the Garden Office showing its entrance doors.](https://mintcdn.com/ideatura/jHvDdirapjLrOTIw/images/integration-guides/autocad/wide-dwg-ifc-elevation.png?fit=max\&auto=format\&n=jHvDdirapjLrOTIw\&q=85\&s=3fd3073de59baaa2bb6ddeb910956fb1)

**8. Review and download the model**

Check the 12,400 × 4,400 mm outside footprint, the internal partition and the positions and sizes of the openings. Review the completion report for any assumptions or unresolved differences.

Download the IFC when you are satisfied with the model. You can also download the [completed example](https://docs.ideatura.ai/files/Garden_Office_From_DWG.ifc) to compare it with your result. It is a separate file derived from the drawing; later edits to the DWG do not automatically update it.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.